Re: Apache CGI problem

2002-09-26 Thread Unix Tools

1) Check /vsr/log/messages for any fatal erors when teh script is run
2) also /var/log/httpd-error.log
3) does your perl scripts run chrooted
4) if yes chmod the scripts 755




- Original Message -
From: Ihsan Junaidi Ibrahim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 07:49 AM
Subject: Re: Apache CGI problem


 Hello all,

  Personally, the only time I've ever seen error 500 is when either the
  script had syntax errors, the permissions were set incorrectly, or the
  script was transferred as a binary file when it should've been
  transferred as ASCII. If you're sure that all three of those issues
  don't pertain to your situation, then I'm not sure what the problem
  is.

  Did you possibly make some system changes on the day they quit working?

 I  believe  so.  I  did  change a few ipfw rules, a make world and
reworking the
 quotas. The scripts was done on the system itself, the permissions were
right
 and the syntax were definitely correct.

 I  can't  log  in into my qmailadmin, sqwebmail and do administrative
tasks now.
 I'm going to reinstall apache if that's going to help in any way.

 --
 Thank you for your time,
 Ihsan

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

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


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



Re: how to delete file named ?'??

2002-09-26 Thread Unix Tools

Perl script
cd to the directory where the file with this wierd name is located

write a perl script del.pl

#!/usr/bin/perl
unlink   ?'??  ;
exit(0);

Thats it.



- Original Message - 
From: Tomasz Koziara [EMAIL PROTECTED]
To: freebsd-questions [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 06:04 PM
Subject: how to delete file named ?'??


 Hi
 
 How to delete file named?'?? ?
 This is probably trivial but I tryed and
 still cannot figure it out.
 Thanks.
 
 Tom
 
 
 
 Clearasil rozdaje 10 000 Plyt CD z hitami muzyki POP za darmo!
 Chcesz jedna, kliknij. http://a1.o2.pl/rdr.php?banner_id=625
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

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



how to kill nfs-blocked process

2002-09-26 Thread cool46 cool46

i have a nfs server and a client,server is running linux,client is running 
freebsd.I find when server is busy or not available,some process on client 
will block because of nfs.these process be marked with 'D' or 'DL' when i 
run command 'ps ax'.i try to kill them using command 'kill -9',but not 
work,even though reboot system,the system can not reboot automaticly 
because some process cann't teminate.i also try to mount client with 
options intr,soft and so on,but problem is as before.how can i resolve this 
problem? thanks.

_
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: 
http://messenger.microsoft.com/cn/


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



Re: gnokii

2002-09-26 Thread Jens Rehsack



[EMAIL PROTECTED] wrote:
 
 Hi FreeBSD Support,
 
 I would like to setup an internet connection on my FreeBSD 4.6.2 system at home. I 
don't have POT telephone line neither I have cable connection so I would like to 
install gnokii 0.4.3 from BSD port collection in order I can connect to the internet 
through my mobile phone.
 
 Gnokii depends on several other distfiles which I have to download, write on a cd 
and take the CD home. How can I exactly know what other distfiles I have to download 
other than gnokii.tar.gz? When I write the command make I got messages that 
distfiles needed other than indicated in port dependences on 
www.freebsd.org/ports/comms . For example bison-XXX.tar.gz.
 
 
 gnokii-0.4.3,1 
ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/comms/gnokii
 
 Tools to talk to Nokia cellular phones
 Long  http://www.freebsd.org/cgi/url.cgi?ports/comms/gnokii/pkg-descr description 
| Sources http://www.freebsd.org/cgi/pds.cgi?ports/comms/gnokii  | Main Web Site 
http://www.gnokii.org/
 Maintained by: [EMAIL PROTECTED]
 Requires: XFree86-libraries-4.2.0_3 
http://www.freebsd.org/ports/x11.html#XFree86-libraries-4.2.0_3 , expat-1.95.4 
http://www.freebsd.org/ports/textproc.html#expat-1.95.4 , freetype2-2.1.2 
http://www.freebsd.org/ports/print.html#freetype2-2.1.2 , gettext-0.11.5 
http://www.freebsd.org/ports/devel.html#gettext-0.11.5 , glib-1.2.10_7 
http://www.freebsd.org/ports/devel.html#glib-1.2.10_7 , gmake-3.79.1_2 
http://www.freebsd.org/ports/devel.html#gmake-3.79.1_2 , gtk-1.2.10_7 
http://www.freebsd.org/ports/x11-toolkits.html#gtk-1.2.10_7 , imake-4.2.0_1 
http://www.freebsd.org/ports/devel.html#imake-4.2.0_1 , libiconv-1.8_1 
http://www.freebsd.org/ports/converters.html#libiconv-1.8_1 , pkgconfig-0.12.0 
http://www.freebsd.org/ports/devel.html#pkgconfig-0.12.0
 

Hi Peter,

I do not know much about package based system configuration. I recommend
use the ports tree and build the port from source.

Maybe you should consult the handbook for some details I do not explain... :-)

1st) Install the port tree source
2nd) Build cvsup (either with or without gui)
3rd) decide what you want keep up to date (look into /usr/share/examples/cvsup/)
4th) backup all your modifications you madde under /usr/src/ and/or /usr/ports/
5th) delete the port tree source or the /usr/src or both
6th) use cvsup to keep your sources / ports tree up to date
7th) install portupgrade (if you want, but it's recommented)
8th) update the required ports (as far as you're sure it's ok)
9th) install gnokii, either by
 cd /usr/ports/comms/gnokii  make install clean, or
 portinstall gnokii

Good luck,
Jens


 Thanks very much for your answer,
 Peter Mucsi.
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED]
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/

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



Re: A cool IPF firewall trick

2002-09-26 Thread Moti Levy

use swatch and direct it to beep on the events you want monitored .

- Original Message -
From: Richard Tobin [EMAIL PROTECTED]
To: BSD Freak [EMAIL PROTECTED]; FreeBSD Questions
[EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 8:15 PM
Subject: Re: A cool IPF firewall trick


  I run several FreeBSD/IPF based firewalls. I would really like to get
  some sort of basic visual representation as to what the firewall is
  doing without actually logging in and tailing logs. My idea is to have
  the HDD LED (red) light up when IPF blocks packets with an ipf block
  rule and the power LED (green) light up when traffic is passed with an
  ipf pass rule.

 You could have rules to send the packets to divert sockets (as is done
 for NAT), and write a program to respond to them.  See divert(4) and
 natd(8).

 It would be easier to use the keyboard leds (KDSETLED ioctl) than the
 disk and power leds, I think.

 -- Richard


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





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



Re: Fetchmail and Mutt

2002-09-26 Thread Bernd Haug

Bryan Cassidy wrote:
 I am using FreeBSD 4.6.2 on my system now. I am new to Unix/Linux
 but liking bsd alot. Anyways. I use fetchmail 5.9.13 and mutt
 1.2.5.1i and I am using Fluxbox as my window manager. I want to
 know what can I add to my .fluxbox/menu config file to launch
 fetchmail right before it launches mutt or vice versa so I don't
 have to run fetchmail by hand each and everytime viewing my e-mails.
 This is what I have in my .fluxbox/menu configuration file now to
 launch mutt [exec] (Mutt) {Eterm -e mutt} Hope I gave enough
 information.

Would it be possible to write a one-code-liner akin to:

#!/bin/sh
fetchmail  eterm -e mutt || eterm -e mutt

so that first fetchmail is called, and then, no matter how it dies, 
mutt is called?

I did not try it, so maybe I'm a complete fool here...

The most elegant solution would probably be fetchmail daemon mode, but 
if you're on a non-flatrate dial-up, you might not want regular polling.

By the way, is your line length configured correctly? Maybe it is just 
my mozilla, but your lines seemed awfully long to me.

Yours, Bernd


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



Re: Apache CGI problem

2002-09-26 Thread Matthew Seaman

On Thu, Sep 26, 2002 at 03:15:00AM +0800, Ihsan Junaidi Ibrahim wrote:

 Weird problem I'm having here. I can't execute any script in
 ScriptAlias directory.  500 Internal Server Error always came
 out. I'm pretty sure the scripts are all right. I ran them on
 shell, they executed well. Could it be that Apache lost the
 path?

Have you installed mod_php4 on your server?  And you're maybe loading
it into apache13-modssl ?

Try commenting out the lines that load the php module in httpd.conf,
and see if that restores the ability of your server to run CGI
scripts.  That's not going to be hugely helpful to you if you're
running PHP based sites, but it would confirm a suspected bug in the
latest mod_php4 port.

Cheers,

Matthew

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

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



Re: Upgrading to ipfw2?

2002-09-26 Thread Matthew Seaman

On Thu, Sep 26, 2002 at 12:34:50AM +0200, Michael wrote:
 Could anyone explain or direct me to any procedures for upgrading to ipfw2?

Firstly, make sure you're running a system version that includes ipfw2
support.  You need to be running either 5-CURRENT or a recent version
of 4-STABLE.  If you're running 5-CURRENT then you've already got
ipfw2 and don't need to do anything more, but you'll probably be more
comfortable running 4-STABLE.

So, assuming you're all set up to rebuild the world and the kernel,
you need to:

Add 'IPFW2=TRUE' to /etc/make.conf

Add 'options  IPFW2' to your kernel configuration.

Then simply build and install a new system in the usual way
(ie. according to the instructions in /usr/src/UPDATING) and away you
go.

Cheers,

Matthew

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

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



traceroute6 source

2002-09-26 Thread Florian Frotzler

Hi ppl!

Does anyone know where I can get the traceroute6 source code (I need that for 
studies)...

Thanx in advance,
Florian

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



Cron leaving a zombie

2002-09-26 Thread Paul Everlund

Hi!

I have this little script in /usr/local/etc/rc.d to start, stop and
restart a daemon: adac.sh

#!/bin/sh

case $1 in
start)
echo -n ' adac'
/usr/local/sbin/adac   /dev/null 
;;
stop)
/bin/kill `/bin/cat /var/run/adac.pid 2 /dev/null` 2 /dev/null
/bin/rm -f /var/run/adac.pid
;;
restart)
/bin/kill `/bin/cat /var/run/adac.pid 2 /dev/null` 2 /dev/null
/bin/rm -f /var/run/adac.pid
sleep 5
/usr/local/sbin/adac    /dev/null
;;
*)
echo 
echo Usage: adac.sh {start|stop|restart}
echo 
exit 64
;;
esac

Then I did put this in roots crontab:
10 0 * * * /usr/local/etc/rc.d/adac.sh restart

The adac-daemon is restarted, but everytime the job runs it leaves a
sh-zombie from the cron-job. By killing the cron-job, the sh-zombie
disappears (as it should).

Do anyone know why this is happening?

Thanks in advance!

Best regards,
Paul


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



Re: Apache CGI problem

2002-09-26 Thread Ihsan Junaidi Ibrahim

Hello all,

Unix wrote:
 Is your apache server doing virtual hosting
 Could you provide me your httpd.conf file

OK,  here's  the  file plus the offending virtual hosts. These are the two hosts
that  use  the cgi-bin. Yes I use virtual hosting. I do a local lan-based sites
using local name server, just to get the hang of it first.

httpd.conf
---
##
## httpd.conf -- Apache HTTP server configuration file
##

#
# This is the main Apache server configuration file.
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerType is either inetd, or standalone.
#
ServerType standalone

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
ServerRoot /usr/local

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile /var/run/httpd.pid

#
# ScoreBoardFile: File used to store internal server process information.
# Not all architectures require this.
#
ScoreBoardFile /var/run/httpd.scoreboard

#
# Ignore srm.conf  access.conf.
#
ResourceConfig /dev/null
AccessConfig   /dev/null

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to Off to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15

#
# Server-pool size regulation.
#
MinSpareServers 5
MaxSpareServers 10

#
# Number of servers to start initially --- should be a reasonable ballpark
# figure.
#
StartServers 2

#
# Limit on total number of servers running, i.e., limit on the number
# of clients who can simultaneously connect --- if this limit is ever
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW..
#
MaxClients 150

#
# MaxRequestsPerChild: the number of requests each child process is
# allowed to process before the child dies.
#
MaxRequestsPerChild 0

#
# Dynamic Shared Object (DSO) Support
#
LoadModule mmap_static_module libexec/apache/mod_mmap_static.so
LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so
LoadModule env_module libexec/apache/mod_env.so
LoadModule define_module  libexec/apache/mod_define.so
LoadModule config_log_module  libexec/apache/mod_log_config.so
LoadModule mime_magic_module  libexec/apache/mod_mime_magic.so
LoadModule mime_modulelibexec/apache/mod_mime.so
LoadModule negotiation_module libexec/apache/mod_negotiation.so
LoadModule status_module  libexec/apache/mod_status.so
LoadModule info_modulelibexec/apache/mod_info.so
LoadModule includes_modulelibexec/apache/mod_include.so
LoadModule autoindex_module   libexec/apache/mod_autoindex.so
LoadModule dir_module libexec/apache/mod_dir.so
LoadModule cgi_module libexec/apache/mod_cgi.so
LoadModule asis_modulelibexec/apache/mod_asis.so
LoadModule imap_modulelibexec/apache/mod_imap.so
LoadModule action_module  libexec/apache/mod_actions.so
LoadModule speling_module libexec/apache/mod_speling.so
LoadModule userdir_module libexec/apache/mod_userdir.so
LoadModule alias_module   libexec/apache/mod_alias.so
LoadModule rewrite_module libexec/apache/mod_rewrite.so
LoadModule access_module  libexec/apache/mod_access.so
LoadModule auth_modulelibexec/apache/mod_auth.so
LoadModule anon_auth_module   libexec/apache/mod_auth_anon.so
LoadModule db_auth_module libexec/apache/mod_auth_db.so
LoadModule digest_module  libexec/apache/mod_digest.so
LoadModule proxy_module   libexec/apache/libproxy.so
LoadModule cern_meta_module   libexec/apache/mod_cern_meta.so
LoadModule expires_module libexec/apache/mod_expires.so
LoadModule headers_module libexec/apache/mod_headers.so
LoadModule usertrack_module   libexec/apache/mod_usertrack.so
LoadModule unique_id_module   libexec/apache/mod_unique_id.so
LoadModule setenvif_modulelibexec/apache/mod_setenvif.so
LoadModule php4_modulelibexec/apache/libphp4.so
LoadModule perl_modulelibexec/apache/libperl.so
LoadModule gzip_modulelibexec/apache/mod_gzip.so
IfDefine SSL
LoadModule ssl_module libexec/apache/libssl.so
/IfDefine

#  Reconstruction of the complete module list from all available modules
#  (static and shared ones) to achieve correct module execution order.
#  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
ClearModuleList
AddModule mod_mmap_static.c
AddModule mod_vhost_alias.c
AddModule mod_env.c
AddModule mod_define.c
AddModule mod_log_config.c
AddModule mod_mime_magic.c

Re: An old sparc 50mhz 64bit workstation - can it run *bsd?

2002-09-26 Thread Marc Perisa

Administrator wrote:
 I do believe there is a port of NetBSD for sparc cpu's, but does anyone
 know if it will run on open or freebsd? With preference for freebsd
 obviously, though I believe it's the one least likely to take to the
 sparc processor.  I can get a hold of 4-5 of them hopefully from my
 university, and I'd love to mess around with them.
 
 

Hi,

if you have too many of them there is a bunch of people who would take 
them :)

A list of the people who needs them to support the UltraSPARC (the 64bit 
  SPARC-processors) better with FreeBSD can be found here:

http://www.FreeBSD.org/donations/wantlist.html

And if you have more than you can handle, mail me ;)

Marc




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



Re: traceroute6 source

2002-09-26 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-26 11:14:50 +0200:
 Does anyone know where I can get the traceroute6 source code (I need
 that for studies)...

% whereis traceroute6

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
11:55AM up 8 days, 19:10, 21 users, load averages: 0.33, 0.13, 0.04
end

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



Re: Fetchmail and Mutt

2002-09-26 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-26 09:11:55 +0200:
 Bryan Cassidy wrote:
 I am using FreeBSD 4.6.2 on my system now. I am new to Unix/Linux
 but liking bsd alot. Anyways. I use fetchmail 5.9.13 and mutt
 1.2.5.1i and I am using Fluxbox as my window manager. I want to
 know what can I add to my .fluxbox/menu config file to launch
 fetchmail right before it launches mutt or vice versa so I don't
 have to run fetchmail by hand each and everytime viewing my e-mails.
 This is what I have in my .fluxbox/menu configuration file now to
 launch mutt [exec] (Mutt) {Eterm -e mutt} Hope I gave enough
 information.
 
 Would it be possible to write a one-code-liner akin to:
 
 #!/bin/sh
 fetchmail  eterm -e mutt || eterm -e mutt
 
 so that first fetchmail is called, and then, no matter how it dies, 
 mutt is called?

just replace the logical and () with a semicolon.

#!/bin/sh
fetchmail ; Eterm -e mutt
 
 The most elegant solution would probably be fetchmail daemon mode, but 
 if you're on a non-flatrate dial-up, you might not want regular polling.

start fetchmail in the link-up script, kill it in the link-down
script.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
11:59AM up 8 days, 19:13, 21 users, load averages: 0.08, 0.08, 0.03
end

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



Re: Need a solution

2002-09-26 Thread Toomas Aas

Hi!

   I've got a slight quandary.  I need a FreeBSD/*nix solution to a
 Microsoft Exchange server.  

Lotus Domino is available for Linux and some other unices. ISTR that 
couple of years ago the Linux server was even free, but you have to pay 
for clients. I don't know how the prices compare to Exchange solution.

I haven't heard of anyone successfully running Domino on FreeBSD, 
though (even with Linux emulation).
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Would a fly without wings be called a walk?


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



Re: gnokii

2002-09-26 Thread Marc Perisa

[EMAIL PROTECTED] wrote:
 Hi FreeBSD Support,
  
 I would like to setup an internet connection on my FreeBSD 4.6.2 system at home. 
 I don't have POT telephone line neither I have cable connection so I would like
 to install gnokii 0.4.3 from BSD port collection in order I can connect to the 
  internet through my mobile phone.
  
 Gnokii depends on several other distfiles which I have to download,write on a 
cd and take the CD home. How can I exactly know what other distfiles
 I have to download other than gnokii.tar.gz? When I write the command make 
 I got messages that distfiles needed other than indicated in port dependences 
 on www.freebsd.org/ports/comms . For example bison-XXX.tar.gz.
   
 gnokii-0.4.3,1 
ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/comms/gnokii  
 

Hi Peter,

it if you have a FreeBSD installed at home, you can do the following:

cd /usr/ports/comms/gnokii
make fetch-recursive-list  /your/downloadlist

Take that file to the computer from which you want to download. If it is 
not a FreeBSD (or *nix) system you have to extract the URLs (be careful, 
there can be more than one per port) and download them by hand. 
Otherwise (if fetch is installed and the proxy settings are the same) 
you can execute that file as a script.

Put the ports then into /usr/ports/distfiles (or a subdirectory (it 
depends on the port, take a look into the Makefile for each port).

After that you should be able to build gnokii

Hope that helped.

Marc

PS: Isn't Internet via mobiles ... eum ... expensive?



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



Re: Fetchmail and Mutt

2002-09-26 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-26 12:01:49 +0200:
 # [EMAIL PROTECTED] / 2002-09-26 09:11:55 +0200:
  The most elegant solution would probably be fetchmail daemon mode, but 
  if you're on a non-flatrate dial-up, you might not want regular polling.
 
 start fetchmail in the link-up script, kill it in the link-down
 script.

ah, i misunderstood your statement. sorry for the noise.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
12:13PM up 8 days, 19:27, 21 users, load averages: 0.08, 0.07, 0.02
end

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



Re: Need a solution

2002-09-26 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-26 13:06:16 +0300:
 I haven't heard of anyone successfully running Domino on FreeBSD, 
 though (even with Linux emulation).

maybe that's because both the server, and the client are broken
beyond imagination? although i'm talking about the windows versions
of both, so maybe the linux versions are actually different, better
software with the same name. :)

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
12:14PM up 8 days, 19:29, 21 users, load averages: 0.08, 0.07, 0.03
end

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



FreeBSD installation on ACER ALTOS 1100E Problem

2002-09-26 Thread Masood Ahmad Shah

Hello my dear freeBSD users,

I'm installing FreeBSD 4.6.2 on ACER ALTOS 1100E machines and when i reached on 

Probing devices, Please wait (this can take a while)

the machines is not going to move another screen sitll displyaing this messagnes. and 
when i pressed ALT+F2 for logs

it's displaying this message

DEBUG: ioctl(3, TIOCCONS, NULL) = 0 (success)

DEBUG: Loading module if_an.ko (Aironet4500/4000 802.11 PCMCIA/ISA/PCI xES)

uhci0: Intel 82371AB/EB (PIIX4) USB controller) at device 7.2 on pci0 

uhci0: Could not map ports

device_probe_and_attach: uhci0 attach returned 6

DEBUG: Loading module if_wi.kl (Lucent WaveLAN/IEEE 802.11 PCMCIA card)

uhci0: Intel 82371AB/EB (PIIX4) USB controller) at device 7.2 on pci0 

uhci0: Could not map ports

device_probe_and_attach: uhci0 attach returned 6

DEBUG: Can't open PC-card controller /dev/card0.

DEBUG: Can't open USB controller.

acd0: PREVENT_ALLOW command timeout - resetting

ata1: resetting devices ..

acd0: removed from configuration

done

Is there any solution how can i install freebsd on this machine

best regards
Masood Ahmad Shah

-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


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



Re: Setting up the GUI (XFree86 / KDE)

2002-09-26 Thread John Bleichert

On Thu, 26 Sep 2002, MET wrote:

 Date: Thu, 26 Sep 2002 03:23:01 -0400
 From: MET [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Setting up the GUI (XFree86 / KDE)
 
 So I've synched my source tree to 4.x-stable and all my ports.  I
 installed XFree86-4.2.0 and KDE 3.0.3 (I think that's the last number),
 but now what?  I've only installed these options through FBSD initial
 installation methods before.  What do I need to do now so that I can
 type startx and it loads KDE.  Or even better, have KDE load on boot?
 
 Suggestions, links anything would be of great assistance.
 
 ~ Matthew
 

Assuming you've *built* the X and KDE ports, you can get KDE to start with 
startx  by putting 'exec kde' in your ~/.xinitrc, vis:

$ echo exec startkde  .xinitrc 

If you want a graphical login that will send you into KDE, see the 
(excellent) handbook page on XDM (although you'll probably want KDM):

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html

HTH - JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: how to kill nfs-blocked process

2002-09-26 Thread Daniel Bye

On Thu, Sep 26, 2002 at 03:44:06AM +, cool46 cool46 wrote:
 i have a nfs server and a client,server is running linux,client is running 
 freebsd.I find when server is busy or not available,some process on client 
 will block because of nfs.these process be marked with 'D' or 'DL' when i 
 run command 'ps ax'.i try to kill them using command 'kill -9',but not 
 work,even though reboot system,the system can not reboot automaticly 
 because some process cann't teminate.i also try to mount client with 
 options intr,soft and so on,but problem is as before.how can i resolve this 
 problem? thanks.

man mount_nfs(8).

Pay particular attention to the flags -i, -d and -s

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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



RE: Upgrading to ipfw2?

2002-09-26 Thread Yonatan Bokovza

 -Original Message-
 From: Michael [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 26, 2002 00:35
 To: [EMAIL PROTECTED]
 Subject: Upgrading to ipfw2?
 
 
 Could anyone explain or direct me to any procedures for 
 upgrading to ipfw2?

Assuming you already have options IPFW in your kernel,
your world, kernel and sources are synced, and that you run i386:
Lines may be broken:

echo options IPFW2  /usr/src/sys/i386/conf/MYKERN
cd /usr/src/sbin/ipfw  make -DIPFW2 all  make -DIPFW2 install
cd /usr/src/lib/libalias  make -DIPFW2 all  make -DIPFW2 install
cd /usr/src  make kernel KERCONF=MYKERN

reboot.

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



Re: Performance issues with natd

2002-09-26 Thread Vallo Kallaste

On Wed, Sep 25, 2002 at 05:08:03PM -0500, David Kelly [EMAIL PROTECTED] wrote:

 One thing to try is to invert the functions of vr0 and xl0.
 
 Another Good Thing To Try is to read man pages and source code on the
 devices you are using. This is found in /usr/src/sys/pci/if_vr.c:
 
  *
  * The Rhine has a serious flaw in its transmit DMA mechanism:
  * transmit buffers must be longword aligned. Unfortunately,
  * FreeBSD doesn't guarantee that mbufs will be filled in starting
  * at longword boundaries, so we have to do a buffer copy before
  * transmission.
  */
 
 Am suggesting replacing the vr0 with something else such as another
 3c905. I use a pair of Intel 10/100's in my PIII-500 box and would have
 to measure carefully to detect any thruput blockage.
 
 My guess as to what is happening is the additional copy required by the
 vr0 interrupts the rhythm between your inside client and the outside
 cable system so that data doesn't stream at full rate when passing thru
 but is OK when it stops at the FreeBSD firewall/router/gateway.
 
 In a PII-300 system I use an onboard 3c905 and an Intel 10/100. IPFW,
 NATD, DIVERT, essentially the same as you but only 64MB, and once again
 the restriction is too small to notice without careful measurement. It
 too is connected to a cable modem but throttled at 500kbits/sec.
 
 I have a spare PII but have not bothered to benchmark it ethernet to
 ethernet.

All that said, even old (16bit)NE2000 clone will easily sustain
800+kB/s on my old 133Mhz Pentium with CPU load 20% or so. 400kB/s
versus 100kB/s throughput difference in this particular case isn't
matter of 3Com vs. Via NIC, I guess. I'll suggest trying out
IPFilter (ipf) and let us know of the results.
-- 

Vallo Kallaste
[EMAIL PROTECTED]

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



Re: Chroot

2002-09-26 Thread Unix Tools

rbash is the best option.
I was quite succecful with it

- Original Message -
From: Gerard Samuel [EMAIL PROTECTED]
To: Brossin Pierrick [EMAIL PROTECTED]
Cc: FreeBSD Questions [EMAIL PROTECTED]
Sent: Tuesday, September 24, 2002 11:21 PM
Subject: Re: Chroot


 Your first half made total sense, and I was able to lock the root user
 in /home/developer when
 chroot was executed.
 Your second half however, is not clicking with me at the moment.  Here
 is what I did
 1.  Under /home/developer/bin create a new file (my_sh) with this -
 #!/bin/sh
 /home/developer/bin/sh
 chroot /home/developer/

 2.  Chmod the file 555, chown root:wheel
 3.  Enter vipw, and change the user developer shell to
 /home/developer/bin/my_sh

 With these modifications, I can ssh into the account, but I can still
 break root by cd'ing out of the home directory.

 Any advise would be greatly appreciated...
 Thanks


 Brossin Pierrick wrote:

 Hi,
 
 || Im trying to figure out how to restrict users from leaving their home
 || directories.
 || I would enter the new directory /usr/home/developer and issue the
 || chroot command -
 || hivemind# chroot /usr/home/developer
 || chroot: /bin/csh: No such file or directory
 
 It's because a chrooted directory is like the root dir of your system !
 You have to create 'bin' 'etc' and stuff into /usr/home/developer.
 You should also copy csh into /usr/home/developer/bin.
 
 Your chrooted system will be completely independent of your system.
 This means if the user developer logs on, he won't be able to access the
 real /etc for example.
 
 I hope I'm clear enough.
 
 www.google.com for more info .. just type in freebsd chroot.
 
 || What am I doing wrong??
 || Also when this is set, how do I make it persist throught reboots.
 || Make my own script in /usr/local/etc/rc.d ???
 || Thanks for any insight you may provide
 
 Just create a shell script and run it instead of running tcsh or sh or
...
 run 'vipw' and change it.
 
 Cya
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 
 
 

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




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


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



Re: Connecting to mysqld

2002-09-26 Thread Unix Tools

ya
flush privileges OR restart the mysql server

- Original Message - 
From: Carl-Johan Kihlbom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 02:19 AM
Subject: Connecting to mysqld


 I'm having trouble connecting to mysqld on my FreeBSD server.
 
 If i connect as root using mysql -u root -p it works just fine, but if 
 I try as any other user, e.g. mysql -u kihlbom -p I get the following 
 error message:
 
 ERROR 1045: Access denied for user: 'kihlbom@localhost' (Using 
 password: YES)
 
 I created the users with GRANT ALL ON *.* TO kihlbom IDENTIFIED BY 
 'password';. The users show up fine in the mysql.user table.
 
 Is there a config file somewhere that states that only root may connect?
 
 How can I allow connections from all users with a valid password?
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

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



PostNuke running slow on FreeBSD

2002-09-26 Thread Janine C . Buorditez

Hi.

I'm running PostNuke 0.72, Apache+IPv6 1.3.26, MySQL 3.23.49 and mod_php4 4.2.3.

My machine is a Pentium 120 with 16 MB RAM, so I don't expect much from it.

However I would expect it to take less than 15-20 minutes to serve me a website,
in this case PostNuke (http://www.terrabionic.com/nma). I do not know what it is,
nor does the PostNuke community.

The installation went fair and fast enough. Once it was complete and I wanted to
access it, I had to wait 16 minutes for just the topic to appear.

/var/log/messages doesn't tell me much. Nor does these:

 tail /var/log/httpd-error.log
[Wed Sep 25 20:37:46 2002] [error] [client :::217.84.209.13] File does not exist: 
/usr/local/www/data/msadc/..%5c../..%5c../..%5c/..Á../..Á../..Á../winnt/system32/cmd.exe
[Wed Sep 25 20:37:47 2002] [error] [client :::217.84.209.13] File does not exist: 
/usr/local/www/data/scripts/..Á../winnt/system32/cmd.exe
[Wed Sep 25 20:37:49 2002] [error] [client :::217.84.209.13] File does not exist: 
/usr/local/www/data/scripts/..À¯../winnt/system32/cmd.exe
[Wed Sep 25 20:37:49 2002] [error] [client :::217.84.209.13] File does not exist: 
/usr/local/www/data/scripts/..Áœ../winnt/system32/cmd.exe
[Wed Sep 25 20:37:55 2002] [error] [client :::217.84.209.13] File does not exist: 
/usr/local/www/data/scripts/..%5c../winnt/system32/cmd.exe
[Wed Sep 25 20:37:55 2002] [error] [client :::217.84.209.13] File does not exist: 
/usr/local/www/data/scripts/..%2f../winnt/system32/cmd.exe
[Wed Sep 25 21:13:43 2002] [error] [client :::195.159.0.90] File does not exist: 
/usr/local/www/data//
[Thu Sep 26 10:58:14 2002] [error] [client :::64.68.82.5] File does not exist: 
/usr/local/www/data/robots.txt
[Thu Sep 26 11:06:28 2002] [error] [client :::64.68.82.72] File does not exist: 
/usr/local/www/data/robots.txt
[Thu Sep 26 12:34:17 2002] [error] [client :::195.159.0.90] File does not exist: 
/usr/local/www/data//

 tail /var/db/mysql/ninja.err
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add for example,
innodb_data_file_path = ibdata1:30M
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
/usr/local/libexec/mysqld: ready for connections

I haven't done much to configure Apache, MySQL or PHP. That should result in this
should it?

Thanks

--janine

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



Re: PostNuke running slow on FreeBSD

2002-09-26 Thread Marc Silver

Hi there,

Out of interest, why are you using IPv6 support?  Are you actually using
it?  I've personally had no experience with this, but perhaps that's the
problem?

A few things I would check:

1)  See what the value for HostnameLookups is in httpd.conf -- I would
suggest setting this to Off, as leaving it on can cause issues if
your DNS server cannot resolve fast enough/at all.  Does
/usr/local/sbin/apachectl configtest show anything odd?

2)  Try running a tcpdump to see if traffic is actually flowing
freely... who knows, maybe you'll notice something odd.

3)  What's the httpd process doing when it's supposed to be serving this
page?  Is something using lots of CPU/RAM while you're waiting for
the page to load?  Perhaps look at using truss to find out?

4)  Have you looked at MySQL during this time?  Try outputting MySQL's
output/queries to a log file (--with-log=/tmp/mysql.log for eg iirc)
and see what's going on there.  'show status' within MySQL can
sometimes also provide good information.

Hope this helps in some way.
- Marc

On Thu, Sep 26, 2002 at 12:59:18PM +0200, Janine C. Buorditez wrote:
 Hi.
 
 I'm running PostNuke 0.72, Apache+IPv6 1.3.26, MySQL 3.23.49 and
 mod_php4 4.2.3.
 
 My machine is a Pentium 120 with 16 MB RAM, so I don't expect much
 from it.
 
 However I would expect it to take less than 15-20 minutes to serve me
 a website, in this case PostNuke (http://www.terrabionic.com/nma). I
 do not know what it is, nor does the PostNuke community.
 
 The installation went fair and fast enough. Once it was complete and I
 wanted to access it, I had to wait 16 minutes for just the topic to
 appear.
 
 
  tail /var/log/httpd-error.log

[snip]

 I haven't done much to configure Apache, MySQL or PHP. That should
 result in this should it?
 
 Thanks
 
 --janine

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



Re: VIA EPIA ITX MoBo

2002-09-26 Thread John Bleichert

On Wed, 25 Sep 2002, Marc Schneiders wrote:
 On Tue, 24 Sep 2002, at 20:48 [=GMT-0500], Steve Fettig wrote:
 
  I have two coming this week slated for mini-backup machines.  I can post
  how things go as far as the installation and usage once I have the
  machines running - if people are interested.  Because the boards are
  designed to run x86 OS's and there have been many success stories
  regarding running Windows, I don't imagine there will be any problems,
  per se.  The only issue is that the firewire port will not be used under
  FreeBSD because of current lack of support and I don't know about the
  tv-out - whether that is hardware based - i.e. requires no drivers or
  not.  Neither are really of concern to me - I would enjoy use of the
  firewire port, but I'll wait...
 
 Thanks for your reply! I got one myself in the mean time, well today.
 It works fine (I have the 800 MHz with fan) as far as IDE, LAN (built
 in vr device) and graphics are concerned. I haven't tested TV-out,
 Audio or USB. The Board boots from everything, if the options in the
 CMOS are anything to go by. From CDROM (4.1) it did, and also from an
 old harddisk with 4.4 stable on it, it ran immediately with generic
 kernel.
 
 There is no floppy connector. But what can one expect for approx.
 $125? Including everything, CPU (VIA Centauer 800 MHz), LAN, Audio,
 TV-out. All needed additionally is RAM and some bootmedium. And a
 case, which I haven't found yet, one that I like and isn't too
 expensive, relatively.
 
 Accepts up to 1 GB of RAM (PC 100/133).  So really a nice thing for a
 cheap little webserver/nameserver that runs everything in memory?
 
 Oh, I didn't see firewire on mine. May be my stupidity. I have never
 used it before.
 
 Lots of info at http://www.mini-itx.com/
 
 

Exactly what type of chip is the onboard AGP video? This would make an 
excellent, quiet, low-cost replacememnt for my Mom's PC. Good thing she 
doesn't log out of KDE, it takes about 10 minutes to restart hehe ...

JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: VIA EPIA ITX MoBo

2002-09-26 Thread Marc Perisa

 
 
 Exactly what type of chip is the onboard AGP video? This would make an 
 excellent, quiet, low-cost replacememnt for my Mom's PC. Good thing she 
 doesn't log out of KDE, it takes about 10 minutes to restart hehe ...
 
 JB

Hi John,

please take a look at:

http://www.viavpsd.com/product/epia_mini_itx_spec.jsp?motherboardId=21

There it is described in all glory.

But be careful - I ordered an EPIA-800 (because they said it was without 
fan) but only if you got a Eden board then you have it up to 800 MHz 
without fan. The C3 boards need all a fan (as stated in the handbook). 
The only fan left is in the ITX powersupplies (and perhaps you can 
smooth them :)).

Marc




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



Re: Connecting to mysqld

2002-09-26 Thread Carl-Johan Kihlbom


On torsdag, sep 26, 2002, at 02:43 Europe/Stockholm, Duncan Anker wrote:

 On Thu, 2002-09-26 at 07:06, Kirk Strauser wrote:

 At 2002-09-25T20:49:20Z, Carl-Johan Kihlbom [EMAIL PROTECTED] writes:

 I created the users with GRANT ALL ON *.* TO kihlbom IDENTIFIED BY
 'password';. The users show up fine in the mysql.user table.

 Did you FLUSH PRIVILEGES after the addition?

 You don't need to do this if you use GRANT to set privileges.

 What else do you have set in your User table? What about the Db and 
 Host
 tables?

It worked when i specified the host, as in: GRANT ALL ON *.* to 
kihlbom@localhost. So now the user kihlbom can connect from localhost. 
But I would prefer it if that user could connect from any host. How do 
I do that?


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



Re: Connecting to mysqld

2002-09-26 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-26 15:15:28 +0200:
 On torsdag, sep 26, 2002, at 02:43 Europe/Stockholm, Duncan Anker wrote:
 On Thu, 2002-09-26 at 07:06, Kirk Strauser wrote:
 At 2002-09-25T20:49:20Z, Carl-Johan Kihlbom [EMAIL PROTECTED] writes:
 I created the users with GRANT ALL ON *.* TO kihlbom IDENTIFIED BY
 'password';. The users show up fine in the mysql.user table.
 
 Did you FLUSH PRIVILEGES after the addition?
 
 You don't need to do this if you use GRANT to set privileges.
 
 What else do you have set in your User table? What about the Db and 
 Host tables?
 
 It worked when i specified the host, as in: GRANT ALL ON *.* to 
 kihlbom@localhost. So now the user kihlbom can connect from localhost. 
 But I would prefer it if that user could connect from any host. How do 
 I do that?

you already did, and your question reveals that you didn't bother
reading the mysql manual.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
3:22PM up 8 days, 22:36, 17 users, load averages: 0.25, 0.17, 0.10
end

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



Re: Connecting to mysqld

2002-09-26 Thread Marc Silver

Hi there,

On Thu, Sep 26, 2002 at 03:15:28PM +0200, Carl-Johan Kihlbom wrote:
 It worked when i specified the host, as in: GRANT ALL ON *.* to 
 kihlbom@localhost. So now the user kihlbom can connect from localhost. 
 But I would prefer it if that user could connect from any host. How do 
 I do that?

This is a bit risky from a security standpoint, but you could do this
like so (for eg):

grant select on dbname.* to username@% identified by password;

OR

grant select on dbname.* to username@%.myisp.net identified by password;

Hope this helps,
Marc

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



kernel compilation error (emergency)

2002-09-26 Thread z x




From: Rodrigo Reis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: kernel compilation error (emergency)
Date: Thu, 26 Sep 2002 06:34:53 -0700

hi,

I`m trying to put up ipfw to work in my computer. I followed the directions 
in placing the lines in the kernel:

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_DEFAULT_TO ACCEPT

now i have tried removing or simply commenting the default to accept 
line, since what i want is to deny all.

now when running # make buildkernel (...)
i get errors like this:

/TMP/ccX10334.s : 2462 : ERROR : subtraction of two symbols in different 
sections Idle PTD {. data section} - KERNBASE {*UND* section} at file 
address 1554

this is one of many similar error lines that appear (with some different 
numbers and file addresses)

and at the end I get a :

***Error Code 1

stop in /usr/obj/usr/src/sys/GENERIC.
***Error Code 1

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

stop in /usr/src.





please, i looked for this and couldn`t find a solution.
i appreciate your help

R.


House music all night long...
http://www.housemusic.com


-
Express yourself with a super cool email address from BigMailBox.com.
Hundreds of choices. It's free!
http://www.bigmailbox.com
-




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


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



How to shut down cleanly by killing power

2002-09-26 Thread Petri Riihikallio

Hello

A couple of days ago I sent a message asking how to shut down a 
FreeBSD system when I KNOW the power will be off after the next 
script command.

Nobody has commented yet.

Am I the only one using an UPS with FreeBSD?

It doesn't feel right to crash after the UPS has run dry. (I don't 
have a generator.) About the first thing I was tought about Unix 
system administration was: Always shut down properly. That's why I 
bought the UPS.

Is this a wrong place to ask this question? The other alternatives I 
could come up with were the -ISP and -hardware lists.

Thank you in advance for any thoughts.

At 22:20 +0300 22.9.2002, Petri Riihikallio wrote:
Hello

I have a FreeBSD 4.6.2 box and an UPS. I have chosen NUT 
(http://www.exploits.org/nut) as my UPS monitor. Everything compiles 
and runs fine. No problems with NUT. I have a problem with the 
shutdown script.

How do I shut down the system properly?

The problem is that I want to issue the command upsdrvctl 
shutdown, which switches off the power from the UPS. What do I need 
to do before that?

To be more specific: When the AC power is down and the UPS is almost 
exhausted, NUT creates a file /etc/killpower and starts system 
shutdown with shutdown -h now. Init then runs all scripts in 
/usr/local/etc/rc.d with argument stop. I have put a script like 
this in my /usr/local/etc/rc.d

-/usr/local/etc/rc.d/znut.sh:
#! /bin/sh
case $1 in
start)
   su nut -c /usr/local/libexec/upsdrvctl start
   su nut -c /usr/local/sbin/upsd
   /usr/local/upsmon
   ;;
stop)
   if (test -f /etc/killpower) then
   echo Killing the power, bye!
   /bin/sync
   ### WHAT TO DO HERE ?  ###
   /usr/local/bin/upsdrvctl shutdown
   ### never makes it this far
   else
   killall upsmon
   killall upsd
   /usr/local/libexec/upsdrvctl stop
   fi
   ;;
*)
 echo Usage: $0: [ start | stop ] 21
 exit 65
   ;;
esac
---

I have called the script znut.sh, so it should run last after all 
other shutdown scripts. (Nothing else runs after it in a powerfail 
situation ;-) Can I rely on alphabetical ordering?

When my script finds the /etc/killpower file it syncs the disks 
and switches the UPS off. This is necessary, since the power might 
return when the system is in the Press any key to reboot-state. 
Then it would wait for the keypress indefinitely.

NUT can't use shutdown -r now, since the system might start a 
reboot while the UPS still supplies power. NUT can't use shutdown 
-p now, since if the power is restored before the UPS runs dry, the 
system won't boot automatically.

The upsdrvctl shutdown avoids these deadlocks by killing power at 
the UPS. When the AC power returns, the UPS first recharges, then it 
starts supplying power and my BIOS is set up to boot when power 
returns.

My problem is that the disks aren't clean.

If I put umount -a after the sync, I can't run the upsdrvctl from 
/usr. Should I remount /usr read-only? Or should I move the NUT 
programs to /bin and umount -A. This would leave root dirty.

I have read man pages for mount and umount. Both provide the -f 
flag, but warn against using it. Could I make use of it?

The sync man page tells that halt is better since it does more 
than just a sync. Can I emulate these functions of halt from a 
script?

What happens after the rc.shutdown? Are there any other housekeeping 
tasks after user scripts? I couldn't find any docs on that.

-- 
Cheers,
Petri

Metis / Petri Riihikallio
GSM: +358 400 505 939

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



Re: Cron leaving a zombie

2002-09-26 Thread Paul Everlund

On Thu, 26 Sep 2002, Danny Pansters wrote:

Thanks for your reply!

 On Thursday 26 September 2002 11:30, Paul Everlund wrote:
  case $1 in
  start)
  echo -n ' adac'
  /usr/local/sbin/adac   /dev/null 
   ^
 [SNIP]

  restart)
  /bin/kill `/bin/cat /var/run/adac.pid 2 /dev/null` 2 /dev/null
  /bin/rm -f /var/run/adac.pid
  sleep 5
  /usr/local/sbin/adac    /dev/null
   ^

  Then I did put this in roots crontab:
  10 0 * * * /usr/local/etc/rc.d/adac.sh restart

 sidenote
 Hmmm. IMHO an rc restart script shouldn't be cron'd like this. Or don't call
 it a daemon. But hey, it's your box :)
 /sidenote

Yup! :-) It's something like a daemon, but it stops after it has
received 2048 images, and that's why I want to restart it every 24th hour.
Before it hits the limit though, it acts just like a daemon.

  The adac-daemon is restarted, but everytime the job runs it leaves a
  sh-zombie from the cron-job. By killing the cron-job, the sh-zombie
  disappears (as it should).
 
  Do anyone know why this is happening?

 I think I do. It's not cron, it's your rc script. See ^^ above.

I know it's my script, and not cron. :-)

 The sh is waiting because you tell it to redirect stdout from a background
 process it had to spawn to /dev/null (in the restart case). Then the child
 gets killed, turning the sh process into a zombie. Hard to test without the
 actual adac script/program though.

Removing redirections to /dev/null did not help. It still leaves a zombie.

 HTH,

 Dan

Best regards,
Paul


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



coldsync-2.2.5 w/Palm m130 via USB ?

2002-09-26 Thread G.E. Rafe

I'm trying to get my Toshiba Satellite Pro 4600 running 4.6-R
to talk to a Palm m130 via its USB cradle.

I've managed to get coldsync-2.2.5 to compile without complaint
and find that the kernel seems to recognize the device when the
HotSync button is pressed:

ugen0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 5

Running coldsync -t usb -p /dev/ugen0 -d io:5 returns the following:

Please press the HotSync button.
/dev/ugen0: Device not configured
Device information: /dev/ugen0 vendor 0830 (Palm, Inc.) product 0050 (Palm Handheld) 
rev 1.00 addr 5
ConnectionInfo: entry 0 function Hotsync on port 1
first setup 0x1 returns 2 bytes:  0x01 0x00
Hotsync endpoint name: /dev/ugen0.1
pconn_usb_open: Can't open /dev/ugen0.1.
open: Device not configured
Error: Can't open connection.

So, what extra bit of magic is needed to configure /dev/ugen0.1
as well ?
Shouldn't this be done automatically when /dev/ugen0 is established ?

I've given pilot-link a try on the system, too,
and was just as unsuccessful.

--
Gary E. RAFE, PhD
[EMAIL PROTECTED]

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



Re: Port manipulation

2002-09-26 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-26 15:09:29 +0100:
 Hi,
 
 Could someone point me in the direction of intermediate documentation
 on ports? The handbook doesn't say enough, and the Ports guide is too
 dense and focuses mostly on creating ports.
 
 I want to find out things like:
   How to install mtr without X
   How to install wget without Japanese language support
   How to install lame without GTK support.

such questions are usually easily answered by reading the port's
Makefile. /usr/ports/audio/lame/Makefile e. g. contains this:

.if (${HAVE_GNOME:Mgtk12}!= || defined(WITH_GTK))  !defined(WITHOUT_GTK)
USE_GNOME+= gtk12
PLIST_SUB+= WITH_GTK=''
PKGNAMESUFFIX=  -gtk
.else
PLIST_SUB+= WITH_GTK='@comment '
.endif

that looks like

% make install -DWITHOUT_GTK

will do what you want.

n. b.: answers to questions like what the heck is the WANT_GNOME
stuff lie in the /usr/ports/Mk directory. get yourself ready for
some searious reading if you're not a Makefile hacker though, that
stuff is pretty heavy, *but not impenetretable*.

see also make(1) and /usr/share/doc/psd/12.make/paper.ascii.gz

hmm, looks like i answered a different question. :)

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
4:20PM up 8 days, 23:35, 12 users, load averages: 0.01, 0.03, 0.00
end

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



Re: Configuring XFree86 - not working...

2002-09-26 Thread Yann Golanski

Quoth MET on Thu, Sep 26, 2002 at 10:38:23 -0400
 Any how, I'm attempting to the Handbook (
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
 ):
   # XFree86 -configure
   # XFree86 -xf86config XF86Config.new

The simplest way to install XFree86 is from /stand/sysinstall following
things either in full graphical mode, ncurses mode or text mode. You'll
need to know which graphics chip yours is compatible with and what your
monitor/screen can do. 
 
There is a log file called /var/log/XFree86.0.log which hold some
information as well.

 Any ideas what I have to do in order to get this to work?

Good luck.

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

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



Re: An old sparc 50mhz 64bit workstation - can it run *bsd?

2002-09-26 Thread Kris Kennaway

On Thu, Sep 26, 2002 at 11:02:25AM +0200, Marc Perisa wrote:

 if you have too many of them there is a bunch of people who would take 
 them :)
 
 A list of the people who needs them to support the UltraSPARC (the 64bit 
  SPARC-processors) better with FreeBSD can be found here:

These are 32-bit SPARCS and therefore useless for the sparc64 port.

Kris



msg02946/pgp0.pgp
Description: PGP signature


Re: How to shut down cleanly by killing power

2002-09-26 Thread Jack L. Stone

At 05:02 PM 9.26.2002 +0300, Petri Riihikallio wrote:
Hello

A couple of days ago I sent a message asking how to shut down a 
FreeBSD system when I KNOW the power will be off after the next 
script command.

Nobody has commented yet.

Am I the only one using an UPS with FreeBSD?


lot chopped off

No, you are not the only one using UPS, but in my case, I don't use NUT and
don't quite understand the problem you have with the shutdown. My scripts
use shutdown -p just fine (rather than shutdown -h). It will only use that
when it reaches the final designated time to do so. If power returns, then
it stops the countdown just flawlessly and returns to normal operations. It
works on all of the FBSD machines and those running Windoze desktops. Some
are Masters (those are FBSD) and some are slaves (FBSD  WINs). Some share
the same APC and some do not. The ones that do not are attached to dumb UPS
backups, but are still told what to do by the APC master machines i.e.,
shutdown or continue.

So, I have not jumped into this because it is complicated enough without
trying to discuss accross different daemons

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: FreeBSD and Verizon DSL

2002-09-26 Thread Louis LeBlanc

I guess I need to get the goods on ppp setup now.

Does this replace dhclient, or should I simply tweak that config to
work with the new server?

Thanks a million.

Lou

On 09/26/02 11:32 AM, Alexander Kabaev sat at the `puter and typed:
 Hi,
 
 Verizon DSL works reasonably well for me. Below is my /etc/ppp/ppp.conf
 entry. Make sure that authkey and authname reflect the reality, add
 
 ppp_enable=YES
 ppp_mode=ddial
 ppp_nat=NO
 ppp_profile=infospeed
 
 to your /etc/rc.conf file and you should be all set. No DHCP is
 required, the IP address allocation will be handled by PPP. Add NAT and
 firewall rules as you see fit.
 
 infospeed:
  set device PPPoE:xl0 # replace xl1 with your interface
  set mru 1492
  set mtu 1492
  set authname [EMAIL PROTECTED]
  set authkey your password
  set log Phase
  set dial
  set login
  set ifaddr 10.0.0.1/0 10.0.0.2/0
  enable lqr
  disable ipv6cp
  add default HISADDR
 
 -- 
 Alexander Kabaev
 
 

-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Happiness, n.:
  An agreeable sensation arising from contemplating the misery of another.
-- Ambrose Bierce, The Devil's Dictionary

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



VPN Tunnel Routing

2002-09-26 Thread Ian Cartwright

Greetings:

I am trying to construct a B2B mode VPN tunnel between my house and my
work using FreeBSD. My work uses Checkpoint VPN-1 and I have a FreeBSD
firewall that is running ipfilter to do firewall/NAT duties. I have so
far been successful in creating a tunnel between the FreeBSD box and my
work VPN server using /usr/ports/security/racoon, gif (4), and the IPSEC
kernel module. I am able to establish a tunnel and pass packets from my
FreeBSD firewall to my work network. I have not been able to pass
packets from the rest of my home network to my work over the VPN tunnel.
The packets seem to never make it into the tunnel, and also do not pass
out to the Internet via my firewall.

Here is my current configuration (IPs changed to protect the guilty):

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::2a0:c9ff:fe5c:c37b%fxp0 prefixlen 64 scopeid 0x1
inet 100.100.100.1 netmask 0xff00 broadcast 68.3.250.255
ether 00:a0:c9:5c:c3:7b
media: Ethernet autoselect (10baseT/UTP)
status: active
fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::2a0:c9ff:fe76:4764%fxp1 prefixlen 64 scopeid 0x2
ether 00:a0:c9:76:47:64
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet 68.3.250.5 -- 199.64.13.20
inet6 fe80::2a0:c9ff:fe5c:c37b%gif0 prefixlen 64 scopeid 0x5
inet 192.168.0.1 -- 200.200.200.1 netmask 0xff00

fxp0 is my external network adapter, connected to the Internet and
assigned 100.100.100.1 by my ISP.
gif0 is the tunnel adapter and ties my network to my work's network. The
ip 200.200.200.1 is the inside interface of my work's VPN server.

The commands used to create the gif tunnel are as follows:
ifconfig gif0 create tunnel 100.100.100.1 200.200.201.1
ifconfig gif0 inet 192.168.0.1 200.200.200.1 netmask 255.255.255.0

100.100.100.1 is my external address again
200.200.201.1 is the external interface on my work's VPN server
200.200.200.1 is the internal interface on my works VPN server again

As you can see, I am using the same IP for my internal interface on my
firewall (fxp1) as I am for the local termination of the gif tunnel. I
have also tried using a different IP address with the same results. As
far as I can tell, the routing is set up correctly with all routes to my
work's netowrk pointing at the gif tunnel (either 192.168.0.1 or
192.168.0.2depending on my configuration).

I guess my main questions are: why aren't packets from my inside network
entering the gif tunnel? Why is it that only packets that originate on
the firewall itself seem to enter the gif tunnel? Is this fixable? If so
how?

Cheers,

Ian Cartwright


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



UNKNOWN IP OPTION emergency

2002-09-26 Thread soheil h


Dear All

as in stevens' Tcp/Ip illustrated says when a router see an unknown option 
it must silently ignore it but when i put an option by type 253 len 12 and 
10 byte of data
some router on my path drop it
how can i set an option an put 2 ip address in it  that no router delete my 
data

thanx





_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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



Re: UNKNOWN IP OPTION emergency

2002-09-26 Thread Barney Wolff

You can't.   Some networks have firewalls or routers that drop any
packet with IP options, as a security measure.  You will not be able
to persuade them otherwise.

On Thu, Sep 26, 2002 at 06:30:54PM +0330, soheil h wrote:
 some router on my path drop it
 how can i set an option an put 2 ip address in it  that no router delete my 
 data

-- 
Barney Wolff
I'm available by contract or FT:  http://www.databus.com/bwresume.pdf

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



Re: Need a solution

2002-09-26 Thread Philip Hallstrom

There's a tutorial on LDAP which I found interesting at:

http://www.bsdforums.org/forums/showthread.php?threadid=3177

On Wed, 25 Sep 2002, Brian McCann wrote:

   I've got a slight quandary.  I need a FreeBSD/*nix solution to a
 Microsoft Exchange server.  Basically...Exchange server is what we need
 as far as functionality, but it's way to expensive, and...well...I
 really try not to use M$FT products when it comes to servers.  So...I
 need something that does a directory of contacts (LDAP I assume will
 work), something that will share schedules, and something that will act
 as a mail server and a public folder server.  I'm told IMAP CAN do
 this...but is this really the best groupware for FreeBSD solution?
 Any suggestions?

 Thanks,
 --Brian


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



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



[no subject]

2002-09-26 Thread Agbenya Adotey

subscribe [EMAIL PROTECTED]


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



[sound] linker_file_sysinit snd_pcm.ko failed to register! 17

2002-09-26 Thread Bill Schoolcraft

Hello,

In looking for references for the error:

linker_file_sysinit snd_pcm.ko failed to register! 17

I don't find much, I did a kldstat and that produced:

 15 0xc010 420668   kernel
 21 0xc135b000 7000 linprocfs.ko
 31 0xc13d1000 3000 daemon_saver.ko
 41 0xc13d6000 14000linux.ko
 61 0xc1509000 14000snd_pcm.ko

So thank gawd the module is there, just wondering if I'm missing
anything. I was reading that in some cases you would add
something like this to /boot/loader.conf

maestro3_load=YES

I wonder if there is any options for the cs4281 sound chip?

-- 
|72--|
Bill Schoolcraft
PO Box 210076 -o)
San Francisco CA 94121 /\
UNIX, A Way Of Life._\_v
http://forwardslashunix.com/raw



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



Re: XP Windows and Nat

2002-09-26 Thread D. Penev

On Thu, Sep 26, 2002 at 02:07:23AM -0600, Grant Cooper wrote:
From: Grant Cooper [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: XP Windows and Nat
Date: Thu, 26 Sep 2002 02:07:23 -0600

I have am using FreeBSD as a firewall and just recently upgraded to an XP
box. Not so much a problem but my Network connection gives me a warning
every 15 - 20 min saying my internet connection is down. Then it
re-connects. About a 5-6 sec delay. Never had this problem with Windows 98
and still don't. Think maby a windows driver is causing the problem?

Give more info about your configuration.



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

-- 
Regards,
D. Penev

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



Your confirmation is needed

2002-09-26 Thread New Advent Confirmation (from Lyris ListManager)

Please reply to this email message to confirm your subscription to
newadvent.

Your email address has been entered for a subscription to the
newadvent mailing list. However, your new subscription requires
a confirmation that you received this email message and want
to join this mailing list.

If you do not want to join, do nothing.  You will be automatically 
removed.

To confirm that you do want to join, simply reply to this message.
Make sure that your message is addressed to
[EMAIL PROTECTED]

To unsubscribe immediately, you send an email message to
[EMAIL PROTECTED]


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



Re: Configuring XFree86 - not working...

2002-09-26 Thread Conrad Sabatier


On 26-Sep-2002 MET wrote:
 So I've installed XFree86 (or rather FBSD 4.6.2 did as it came with it).
 I'm updated my ports and my system to -STABLE.  However when I try to
 configure X-Server I get a blue flashy screen that reminds of death (too
 many years on MS I guess).  Any how, I'm attempting to the Handbook (
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
 ):
 
   # XFree86 -configure
 
   # XFree86 -xf86config XF86Config.new
 
 Instead of the wonderful black and grey grid and an X mouse cursor I
 get some retarded shaky blue-ish crap.  My machine is a Dell Inspiron
 8200 Laptop ( 15 IN SXGA+ || 64MB DDR 4X AGP NVIDIA NV17 3D VIDEO ).
 
 Any ideas what I have to do in order to get this to work?

Try running xf86cfg -textmode.

-- 
Conrad Sabatier [EMAIL PROTECTED]

Yes, but which self do you want to be?


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



Multiport

2002-09-26 Thread Eugene Olkhovick

Hello freebsd-questions,
I trying to set the multiport adapter to my PC under the FreeBSD 4.4
In my configuration file I write:

option COM_MULTIPORT
device  sio2   at isa? port 0xb00c tty irq 5 flags 0x031c vector siointr
device  sio3   at isa? port 0xb014 tty flags 0x031c
device  sio4   at isa? port 0xb016 tty flags 0x031c
device  sio5   at isa? port 0xb01e tty flags 0x031c
  
And when I try to execute command I see:
config: line 147: syntax error

There is 146 line - device  sio2   at isa? port 0xb00c tty irq 5 flags 0x031c 
vector siointr
Tell me please about this syntax error, I cant understand :(
-- 
Best regards,
Eugene Olkhovickmailto:[EMAIL PROTECTED]
Finance  Credit Banking Corporation, Rivne branch   (0362)630028


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



Re: 4.6.2 [sound] cs4281 on Toshiba 1715 laptop

2002-09-26 Thread Bill Schoolcraft

At Thu, 26 Sep 2002 it looks like Justin P. Michel composed:

 Don't forget to make your device nodes... 
 
 (ie. if device comes up as pcm0, go to /dev and, as root sh MAKEDEV snd0)
 

Thanks Justin,

You know, as root I did that and NO /dev/snd* was created, the
only thing beginning sn is:

[root@corten_laptop: /dev]- ls -al sn*
crw-rw-rw-  1 root  wheel   30,   6 Sep 26 10:21 sndstat

and the device was spotted at boot with:

[root@corten_laptop: /dev]- dmesg|grep 4281
pcm0: Crystal Semiconductor CS4281 irq 5 at device 8.0 on pci0
pcm0: Crystal Semiconductor CS4281 irq 5 at device 8.0 on pci0

so I also checked for a /dev/pcm*

[root@corten_laptop: /dev]- ls -al pcm*
ls: pcm*: No such file or directory

and said what the hell...

[root@corten_laptop: /dev]- sh MAKEDEV pcm0
pcm0 - no such device name

So, I'm getting closer here thanks to your help but still can't
figure out the above.

This laptop is triple booted with Linux/Win2000/FreeBSD and
this has been the most troublesome thing.

TIA

-- 
|72--|
Bill Schoolcraft
PO Box 210076 -o)
San Francisco CA 94121 /\
UNIX, A Way Of Life._\_v
http://forwardslashunix.com/raw




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



Correo prueba 2...

2002-09-26 Thread correo

saludos

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



reverse proxy?

2002-09-26 Thread Richard Lucas

I am looking for something that I can setup to forward http and https
requests to other machines. Most of the requests would be forwarded to
internal machines although I do have one that would be forwarded to another
machine on the internet. What I would like to do is when that machine is
down I serve a local page that basically says it's down for upgrades. If I
can't get it to do that however it would be fine for it to serve the local
cache.

From my research it looks as if squid can do part of what I need but from
what I've read it can only forward requests to one server. I need something
that can forward requests to multiple servers depending on what is
requested. For example, if someone requested www.bleh.com it would forward
internally to 192.168.0.10 and www.blah.net would forward to 192.168.0.11. I
guess basically a reverse proxy that can do something like name based
virtual hosting.

Can this be done with apache? And if so could someone point me in the right
direction on how to set something like this up.

Thanks in advance for any help you can give.


-Richard


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



Re: UNKNOWN IP OPTION emergency

2002-09-26 Thread Terry Lambert

soheil h wrote:
 as in stevens' Tcp/Ip illustrated says when a router see an unknown option
 it must silently ignore it but when i put an option by type 253 len 12 and
 10 byte of data
 some router on my path drop it
 how can i set an option an put 2 ip address in it  that no router delete my
 data

Send a known option, instead?

Ignore := pass | drop

Normally, it means drop, because unknown options are assumed to
be hop-to-hop, meaning it's illegal for them to come from a router
that did not originate them (i.e. a router that doesn't recognize
the option forwarding it to one that does).

If you want a covert data channel, you aren't going to be able to
do it with router options.  8-).

-- Terry

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



Re: samba server as a PDC

2002-09-26 Thread Peter Ulrich Kruppa

On Wed, 25 Sep 2002, D. Penev wrote:

 On Wed, Sep 25, 2002 at 10:10:34PM +, Peter Ulrich Kruppa wrote:
 Date: Wed, 25 Sep 2002 22:10:34 + (GMT)
 From: [EMAIL PROTECTED] (Peter Ulrich Kruppa)
 To: [EMAIL PROTECTED]
 Subject: samba server as a PDC
 
 Hi,
 
 I am trying to set up a samba server as a primary domain
 controller for about 30 NT and Win2000 machines (and about 800
 users). Password administration and homes services seem to work
 ok.
 But the machines should also be able to read the user's profile
 from the server when logging on and write them back when logging
 off(roaming profiles). This only works for users with root
 access to the server.
 Ordinary users can read their profile when starting up, but
 logging off they receive an access denied message.
 I guess, I have to set permissions correctly, but I have no idea
 how.
 My users belong to group called samba, their profiles are stored
 in a directory /usr/local/samba/profiles .

 What ls -al /usr/local/samba/profiles show? My is :

 # ls -al profiles
 total 4
 drwxr-xr-x   4 DomainAdmin  DomainAdmins  512 Jul 15 23:04 .
 drwxr-xr-x   5 root wheel 512 Jul 15 21:16 ..
 drwx--  13 DomainAdmin  DomainAdmins  512 Jul 19 23:32 DomainAdmin
 drwx--  13 DomainUser   DomainUsers   512 Jul 26 22:15 DomainUser
 [snip]

Hmm ... I have got

---
total 4
drwxr-xr-x   4 root   samba  512 26 Sep 20:48 .
drwxrwx---   4 root      512 26 Sep 21:02 ..
drwxr-xr-x  14 lukas_mueller  samba  512 26 Sep 20:33 lukas_mueller
drwxr-xr-x  13 root   samba  512 26 Sep 20:24 root

-
... and I have to admit, I don't know who group  is. I don't
have it in my /etc/group.
How do I change permissions for .. then?


Uli.





 
 Any idea what could be done?
 
 Thanks for your answers.
 
 
 Uli.
 
 *---*
 *Peter Ulrich Kruppa*
 *  -  Wuppertal -   *
 *  Germany  *
 *---*
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

 --
 Regards,
 D. Penev

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


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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



Re: samba server as a PDC

2002-09-26 Thread Peter Ulrich Kruppa

On Wed, 25 Sep 2002, Dave Young wrote:

 The following is a minimal profile share

 [profile]
 path = /export/profile
 create mask = 0600
 directory mask = 0700
 nt acl support = no
 read only = no


 looks like

 nt acl support = no
I have added this to my smb.conf (it was important for something)
but it doesn't solve my problem. I still guess it must have
something to do with the permissions to my
/usr/local/samba/profiles .

Uli.


 is key

 from README.Win2kSP2


 hth,


 Dave


 On Wed, 25 Sep 2002 22:10:34 + (GMT)
 [EMAIL PROTECTED] (Peter Ulrich Kruppa) wrote:

  Hi,
 
  I am trying to set up a samba server as a primary domain
  controller for about 30 NT and Win2000 machines (and about 800
  users). Password administration and homes services seem to work
  ok.
  But the machines should also be able to read the user's profile
  from the server when logging on and write them back when logging
  off(roaming profiles). This only works for users with root
  access to the server.
  Ordinary users can read their profile when starting up, but
  logging off they receive an access denied message.
  I guess, I have to set permissions correctly, but I have no idea
  how.
  My users belong to group called samba, their profiles are stored
  in a directory /usr/local/samba/profiles .
 
  Any idea what could be done?
 
  Thanks for your answers.
 
 
  Uli.
 
  *---*
  *Peter Ulrich Kruppa*
  *  -  Wuppertal -   *
  *  Germany  *
  *---*
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message

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


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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



Oracle/SYBS/Datawarehouse needed for CH and DE

2002-09-26 Thread Helmut S

Hi 

A colleague of mine is in need of several Oracle people and as I work in
the industry, has asked for 
my help to put the word out. 

The company is a global financial and they need various Senior DBA's and
developers who are 
German speakers, the company is in Switzerland and permits can be provided. 

He also needs some Senior Sybase DBA's as well and a couple of
Datawarehouse specialists for DE 
and CH.

I also know he has several very good Oracle and Sybase people coming
available for Permanent roles 
mainly for Germany and Switzerland and hence if any if you guys are in
need of people, I will him 
know. If of interest, please drop me a mail and I will send on your details 

Kind Regards 

Helmut. 

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



Re: error building mozilla-- cannot find -lglib

2002-09-26 Thread Mark J. Miller

Found it-- /usr/ports/www/mozilla/work/mozilla/config/autoconf.mk.  There
are several macro definitions for -lglib12, but LIBIDL_LIBS is defined to
include -lglib.

I haven't investigated this further to figure out where this should have
been set (ie, if it's a patch problem or a configure problem), but the
build just progressed past the xpidl stage where it was failing before.  I
will let you know if it builds successfully, and if you want me to do any
more tests I'd be glad to do so if it would help the porting process.

Thanks for all your help,
Mark

On 25 Sep 2002, Joe Marcus Clarke wrote:

On Sat, 2002-09-21 at 02:49, Mark J. Miller wrote:


  Somehow your Mozilla is being configured incorrectly.  Make sure your
  /usr/ports/Mk directory is up-to-date, then do a make clean in the
  mozilla directory, and try to rebuild.  It shouldn't be looking for
  -lglib, but rather -lglib12.
 
 This is handled by the glib12-config script (installed as part of
 glib12).  What does glib12-config --libs report?  What revision of
 /usr/ports/Mk/bsd.port.mk do you have?

 % glib12-config --libs
 -L/usr/local/lib -lglib12

 I did a 'locate glib| grep config' and found another binary called
 glib-config in /usr/local/bin.  The version it reported was 1.2.8, while
 glib12-config reports 1.2.10 .  I removed the old binary, ran a make clean
 install again, but got the same error.

 The version of /usr/ports/Mk/bsd.port.mk is
 # $FreeBSD: ports/Mk/bsd.port.mk,v 1.424 2002/09/19 00:16:39 kris Exp $

 I should note that earlier I had a problem with libIDL which I've just
 come across again:

 cc -o xpidl.o -c -DOSTYPE=\FreeBSD4\ -DOSARCH=\FreeBSD\ -DOJI
 -I../../../dist/include/xpcom -I../../../dist/include
 -I/usr/ports/www/mozilla/work/mozilla/dist/include/nspr
 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -fPIC
 -I/usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused
 -Wpointer-arith -Wcast-align -Wno-long-long -O -pipe -march=pentiumpro
 -pipe -DNDEBUG -DTRIMMED -ffunction-sections -I/usr/local/include/glib12
 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include
 -I/usr/X11R6/include -include ../../../config-defs.h -DMOZILLA_CLIENT
 xpidl.c
 In file included from xpidl.c:42:
  xpidl.h:53: libIDL/IDL.h: No such file or directory

 To get around this, I installed libIDL, which had a dependency on glib20.
 This did solve the IDL problem.  After seeing the glib problem, I did a
 pkg_delete -f on glib20, reinstalled glib12, and got the same error I have
 now (can't find -lglib).  I don't think this would have any effect (I'm
 doing make clean install each time), but am I missing something?  Should
 mozilla have its own version of IDL?

It should.  I have not seen this error previously.  The only other user
I can recall that had this problem symlinked libglib12.so to
libglib.so.  However, this might not solve the libIDL problem.


 Here are the lines from the build process that have to do with glib:
 ===  Cleaning for glib-1.2.10_7
 ===   mozilla-1.0.1,2 depends on shared library: glib12.3 - found
 checking for glib-config... /usr/local/bin/glib12-config
 checking for GLIB - version = 1.2.0... yes

 It seems like config is detecting the correct version, but it's still
 using -lglib, not -lglib12 as you mentioned.

Can you hunt through the makefiles to see which one has the -lglib and
figure out where it's coming from?  It might help to determine why this
is happening.

Joe


 Thanks for your continuing help,
 Mark


--
PGP Key : http://www.marcuscom.com/pgp.asc




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



Re: Books (OT)

2002-09-26 Thread Weston M. Price

If you are really interested in C++, I would recommed Stanley Lipman's 

C++ Primer 

as a place to start. Also, for more advanced examples,idioms, etc... I would 
definitely recommend Scott Meyers books as well as anything by Jim Coplien 
and Lipmans Inside the C++ Object Model. 

Regards,

Weston

On Thursday 26 September 2002 02:32 pm, Frank Heitmann wrote:
 Hi.

 I have used FreeBSD for about 6-7 weeks now (great system; I have
 to admit that I like UNIX much more than Windows) and now that I
 got a little better with the system in general I wanted to start
 to program for it, so that I will hopefully be able to help.

 But as I read through some code I noticed that my C/C++ needs some
 refreshment and improvement (especially OOP) first. (I haven't really
 programmed for a year or so, because I first started to study Physics,
 before I realized that Computer Science (or Informatik here in
 Germany) is what interests me much more. Before that I have programmed
 a lot for Windows.)

 The books I have looked at are:
 C How To Program
 C++ How To Program (both from Prentice Hall/Deitel)
 and:
 C Programming Language (KR)
 C++ Programming Language (Stroustrup)

 The two from Deitel look very good to me (I like the summary and
 exercises at the end of each chapter and I like the whole layout).
 The last two also seemed to be very good, but I believe they are
 more useful as a reference than for learning?!

 Maybe someone has them on his/her bookshelf and can give a comment?

 Oh, and sorry for being off-topic, but these mailinglists have
 rapidily become my only connection to the outside world :)

 P.S. I have just seen in the handbook that there is a book The
 Design and Implementation of the 4.4BSD Unix Operating System.
 Is it useful in connection with the Developers Handbook to
 understand kernel internals?
 (Hey, I am at least not absolutly off-topic now :)

 Cheers,
 Frank

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


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



Re: samba server as a PDC

2002-09-26 Thread D. Penev

On Thu, Sep 26, 2002 at 09:09:08PM +, Peter Ulrich Kruppa wrote:
Date: Thu, 26 Sep 2002 21:09:08 + (GMT)
From: [EMAIL PROTECTED] (Peter Ulrich Kruppa)
To: D. Penev [EMAIL PROTECTED]
cc: Peter Ulrich Kruppa [EMAIL PROTECTED], 
 [EMAIL PROTECTED]
Subject: Re: samba server as a PDC

On Wed, 25 Sep 2002, D. Penev wrote:

 On Wed, Sep 25, 2002 at 10:10:34PM +, Peter Ulrich Kruppa wrote:
 Date: Wed, 25 Sep 2002 22:10:34 + (GMT)
 From: [EMAIL PROTECTED] (Peter Ulrich Kruppa)
 To: [EMAIL PROTECTED]
 Subject: samba server as a PDC
 
 Hi,
 
 I am trying to set up a samba server as a primary domain
 controller for about 30 NT and Win2000 machines (and about 800
 users). Password administration and homes services seem to work
 ok.
 But the machines should also be able to read the user's profile
 from the server when logging on and write them back when logging
 off(roaming profiles). This only works for users with root
 access to the server.
 Ordinary users can read their profile when starting up, but
 logging off they receive an access denied message.
 I guess, I have to set permissions correctly, but I have no idea
 how.
 My users belong to group called samba, their profiles are stored
 in a directory /usr/local/samba/profiles .

 What ls -al /usr/local/samba/profiles show? My is :

 # ls -al profiles
 total 4
 drwxr-xr-x   4 DomainAdmin  DomainAdmins  512 Jul 15 23:04 .
 drwxr-xr-x   5 root wheel 512 Jul 15 21:16 ..
 drwx--  13 DomainAdmin  DomainAdmins  512 Jul 19 23:32 DomainAdmin
 drwx--  13 DomainUser   DomainUsers   512 Jul 26 22:15 DomainUser
 [snip]

Hmm ... I have got

   ---
total 4
drwxr-xr-x   4 root   samba  512 26 Sep 20:48 .
drwxrwx---   4 root      512 26 Sep 21:02 ..

I don't think that this causing the problem.

drwxr-xr-x  14 lukas_mueller  samba  512 26 Sep 20:33 lukas_mueller

Is this user have problems with write permission ? I don't see any incorrect
permissions, and hi must save his profile without any problems but users that
haven't profiles cannot create them because they haven't write permission to
/usr/local/samba/profiles. I see two sollutions:

1. chmod 775 /usr/local/samba/profiles
2. manualy create users directories as root and each of them chown to user

drwxr-xr-x  13 root   samba  512 26 Sep 20:24 root

   -
... and I have to admit, I don't know who group  is. I don't
have it in my /etc/group.
How do I change permissions for .. then?


Uli.





 
 Any idea what could be done?
 
 Thanks for your answers.
 
 
 Uli.
 
 *---*
 *Peter Ulrich Kruppa*
 *  -  Wuppertal -   *
 *  Germany  *
 *---*
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

 --
 Regards,
 D. Penev

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


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*

-- 
Regards,
D. Penev

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



Re: samba server as a PDC

2002-09-26 Thread Peter Ulrich Kruppa

Yes, thanks to *everybody* !

I think I mixed up
chown
chgrp and
chmod
somehow. Now
# ls -al /usr/local/samba/profiles
delivers

total 4
drwxr-xr-x   4 root   samba  512 26 Sep 20:48 .
drwxr-xr-x   4 root   samba  512 26 Sep 21:05 ..
drwxr-xr-x  15 lukas_mueller  samba  512 26 Sep 22:41 lukas_mueller
drwxr-xr-x  13 root   samba  512 26 Sep 20:24 root

and everything works. His is just in time because we are going to
set up a second computer room in our school during the next
weeks.


Regards,

Uli.


On Thu, 26 Sep 2002, D. Penev wrote:

 On Thu, Sep 26, 2002 at 09:09:08PM +, Peter Ulrich Kruppa wrote:
 Date: Thu, 26 Sep 2002 21:09:08 + (GMT)
 From: [EMAIL PROTECTED] (Peter Ulrich Kruppa)
 To: D. Penev [EMAIL PROTECTED]
 cc: Peter Ulrich Kruppa [EMAIL PROTECTED],
  [EMAIL PROTECTED]
 Subject: Re: samba server as a PDC
 
 On Wed, 25 Sep 2002, D. Penev wrote:
 
  On Wed, Sep 25, 2002 at 10:10:34PM +, Peter Ulrich Kruppa wrote:
  Date: Wed, 25 Sep 2002 22:10:34 + (GMT)
  From: [EMAIL PROTECTED] (Peter Ulrich Kruppa)
  To: [EMAIL PROTECTED]
  Subject: samba server as a PDC
  
  Hi,
  
  I am trying to set up a samba server as a primary domain
  controller for about 30 NT and Win2000 machines (and about 800
  users). Password administration and homes services seem to work
  ok.
  But the machines should also be able to read the user's profile
  from the server when logging on and write them back when logging
  off(roaming profiles). This only works for users with root
  access to the server.
  Ordinary users can read their profile when starting up, but
  logging off they receive an access denied message.
  I guess, I have to set permissions correctly, but I have no idea
  how.
  My users belong to group called samba, their profiles are stored
  in a directory /usr/local/samba/profiles .
 
  What ls -al /usr/local/samba/profiles show? My is :
 
  # ls -al profiles
  total 4
  drwxr-xr-x   4 DomainAdmin  DomainAdmins  512 Jul 15 23:04 .
  drwxr-xr-x   5 root wheel 512 Jul 15 21:16 ..
  drwx--  13 DomainAdmin  DomainAdmins  512 Jul 19 23:32 DomainAdmin
  drwx--  13 DomainUser   DomainUsers   512 Jul 26 22:15 DomainUser
  [snip]
 
 Hmm ... I have got
 
  ---
 total 4
 drwxr-xr-x   4 root   samba  512 26 Sep 20:48 .
 drwxrwx---   4 root      512 26 Sep 21:02 ..

 I don't think that this causing the problem.

 drwxr-xr-x  14 lukas_mueller  samba  512 26 Sep 20:33 lukas_mueller

 Is this user have problems with write permission ? I don't see any incorrect
 permissions, and hi must save his profile without any problems but users that
 haven't profiles cannot create them because they haven't write permission to
 /usr/local/samba/profiles. I see two sollutions:

 1. chmod 775 /usr/local/samba/profiles
 2. manualy create users directories as root and each of them chown to user

 drwxr-xr-x  13 root   samba  512 26 Sep 20:24 root
 
  -
 ... and I have to admit, I don't know who group  is. I don't
 have it in my /etc/group.
 How do I change permissions for .. then?
 
 
 Uli.
 
 
 
 
 
  
  Any idea what could be done?
  
  Thanks for your answers.
  
  
  Uli.
  
  *---*
  *Peter Ulrich Kruppa*
  *  -  Wuppertal -   *
  *  Germany  *
  *---*
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 
  --
  Regards,
  D. Penev
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 
 
 *---*
 *Peter Ulrich Kruppa*
 *  -  Wuppertal -   *
 *  Germany  *
 *---*

 --
 Regards,
 D. Penev

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


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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



xterm and centericq

2002-09-26 Thread Frank Heitmann

Hi.

I have just installed centericq from the ports but
when I execute it I am not able to use the arrow
keys in the configuration screen.

I try to run it under X in a xterm console with
TERM=xterm-color (when I am not running X and have
TERM=cons25l1 everything works fine).

I have read the readme and the FAQ, but haven't found
anything - any ideas or hints ?
Maybe I have to tweak some X keyboard configurations?!

Greets,
Frank

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



Re: xterm and centericq

2002-09-26 Thread Frank Heitmann

 I have just installed centericq from the ports but
 when I execute it I am not able to use the arrow
 keys in the configuration screen.
 
 I try to run it under X in a xterm console with
 TERM=xterm-color.

One more thing to add: In programs like mutt, slrn
and midnight commander the arrow keys work fine.

Cheers,
Frank

P.S. Sorry for reply instead of a new post.

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



pkg_add failure on 4.6.2

2002-09-26 Thread Sren Neigaard

I just installed 4.6.2, and I wanted to install cvsup. So I brought
the cvsup-16-1f.tbz from ftp.freebsd.org, and did a
'pkg_add cvsup-16-1f.tbz', but whenever I run pkg_add, it core dumps.

How can I redirect the error message from pkg_add to a file, and how
do I attache files with 'mail', so I can send you some more info on
this?

--
Med venlig hilsen/Best regards,
 Søren Neigaard mailto:[EMAIL PROTECTED]
--
 In the beginning the Universe was created. This has made a lot of people very angry 
and been widely regarded as a bad move.


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



Re: FreeBSD and Verizon DSL

2002-09-26 Thread Alexander Kabaev

On Thu, 26 Sep 2002 16:20:19 -0400
Louis LeBlanc [EMAIL PROTECTED] wrote:

 Is PPP setup required?  AFAIK, Verizon doesn't require an
 authname/authkey challenge, since it logs the Mac Address of the NIC,
 as well as the modem itself.  I haven't been using PPP with ATT for
 the last 4+ years, and it works well.
 
 TIA
 Lou

It is possible that the service Verizon provides in your area is
different than one they privide here. Here Verizon DSL uses PPPoE and
ppp is definitely requited to connect. 

-- 
Alexander Kabaev

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



Re: pkg_add failure on 4.6.2

2002-09-26 Thread Kent Stewart



Søren Neigaard wrote:
 I just installed 4.6.2, and I wanted to install cvsup. So I brought
 the cvsup-16-1f.tbz from ftp.freebsd.org, and did a
 'pkg_add cvsup-16-1f.tbz', but whenever I run pkg_add, it core dumps.
 
 How can I redirect the error message from pkg_add to a file, and how
 do I attache files with 'mail', so I can send you some more info on
 this?

I don't think you can get what you want to install. Your system 
doesn't recognize the new format and that is why pkg_add is dying. 
They have reverted to the old format but that will take a while. I 
would grab 1e from http://people.freebsd.org/~jdp/s1g/ and then make 
and add the current port. Version 1f doesn't take long to build.

Kent

-- 
Kent Stewart
Richland, WA

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


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



Re: 4.6.2 [sound] cs4281 on Toshiba 1715 laptop

2002-09-26 Thread Bill Schoolcraft

At Thu, 26 Sep 2002 it looks like Justin P. Michel composed:

 Bill,
 
 Sound had me confused for quite some time myself.  When you execute the
 MAKEDEV script, pcm and/or snd are not actually created as devices
 themselves, but, rather a subset of devices that control your sound are.
 
 I believe the list of devices that are created can be found at:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-devicenodes.
 html
 
 The other thing that it mentioned, if your sound card is built-in to the
 motherboard (which I believe most notebook sound systems are), you may also
 need to add:  options PNPBIOS to your kernel configuration.
 
 Hopefully this will get you listening to your system again. :)
 

Thanks again Justin,

I've recompiled and added as a grand total to date, 3 entries in
my new kernel, here they are:

options PNPBIOS
device  pcm
device  csa

And the relative events that happen in dmesg are as follows:

pcm0: Crystal Semiconductor CS4281 irq 5 at device 8.0 on pci0
pcm0: unable to allocate register space
device_probe_and_attach: pcm0 attach returned 6

unknown: PNP0200 can't assign resources
unknown: PNP can't assign resources
unknown: PNP0303 can't assign resources
unknown: PNP0c02 can't assign resources
unknown: PNP0c02 can't assign resources
unknown: PNP0f13 can't assign resources
unknown: PNP0700 can't assign resources
unknown: PNP0400 can't assign resources

There is new stuff above related to the new entry of PNPBIOS in
my kernel.

KDE starts and states /dev/dsp is not accessible and here is the
full entries for /dev/dsp*

[root@corten_laptop: ~]- ls -al /dev/dsp*
lrwxrwxrwx  1 root  wheel 5 Sep 26 13:03 /dev/dsp -
dsp.0
lrwxrwxrwx  1 root  wheel 6 Sep 26 13:03 /dev/dsp0 -
dsp0.0
crw-rw-rw-  1 root  wheel   30,   3 Sep 26 13:03 /dev/dsp0.0
crw-rw-rw-  1 root  wheel   30, 0x00010003 Sep 26 13:03
/dev/dsp0.1
crw-rw-rw-  1 root  wheel   30, 0x00020003 Sep 26 13:03
/dev/dsp0.2
crw-rw-rw-  1 root  wheel   30, 0x00030003 Sep 26 13:03
/dev/dsp0.3
lrwxrwxrwx  1 root  wheel 6 Sep 26 13:03 /dev/dsp1 -
dsp1.0
crw-rw-rw-  1 root  wheel   30,  19 Sep 26 13:03 /dev/dsp1.0
crw-rw-rw-  1 root  wheel   30, 0x00010013 Sep 26 13:03
/dev/dsp1.1
crw-rw-rw-  1 root  wheel   30, 0x00020013 Sep 26 13:03
/dev/dsp1.2
crw-rw-rw-  1 root  wheel   30, 0x00030013 Sep 26 13:03
/dev/dsp1.3
lrwxrwxrwx  1 root  wheel 6 Sep 26 13:03 /dev/dspW -
dspW.0
lrwxrwxrwx  1 root  wheel 7 Sep 26 13:03 /dev/dspW0 -
dspW0.0
crw-rw-rw-  1 root  wheel   30,   5 Sep 26 13:03 /dev/dspW0.0
crw-rw-rw-  1 root  wheel   30, 0x00010005 Sep 26 13:03
/dev/dspW0.1
crw-rw-rw-  1 root  wheel   30, 0x00020005 Sep 26 13:03
/dev/dspW0.2
crw-rw-rw-  1 root  wheel   30, 0x00030005 Sep 26 13:03
/dev/dspW0.3
lrwxrwxrwx  1 root  wheel 7 Sep 26 13:03 /dev/dspW1 -
dspW1.0
crw-rw-rw-  1 root  wheel   30,  21 Sep 26 13:03 /dev/dspW1.0
crw-rw-rw-  1 root  wheel   30, 0x00010015 Sep 26 13:03
/dev/dspW1.1
crw-rw-rw-  1 root  wheel   30, 0x00020015 Sep 26 13:03
/dev/dspW1.2
crw-rw-rw-  1 root  wheel   30, 0x00030015 Sep 26 13:03
/dev/dspW1.3

So, I contiue hacking and appreciate your help.

-- 
|72--|
Bill Schoolcraft
PO Box 210076 -o)
San Francisco CA 94121 /\
UNIX, A Way Of Life._\_v
http://forwardslashunix.com/raw



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



Re[2]: pkg_add failure on 4.6.2

2002-09-26 Thread Sren Neigaard

Thursday, September 26, 2002, 10:44:38 PM, Kent wrote:

KS Søren Neigaard wrote:
 I just installed 4.6.2, and I wanted to install cvsup. So I brought
 the cvsup-16-1f.tbz from ftp.freebsd.org, and did a
 'pkg_add cvsup-16-1f.tbz', but whenever I run pkg_add, it core dumps.
 
 How can I redirect the error message from pkg_add to a file, and how
 do I attache files with 'mail', so I can send you some more info on
 this?

KS I don't think you can get what you want to install. Your system 
KS doesn't recognize the new format and that is why pkg_add is dying. 
KS They have reverted to the old format but that will take a while. I 
KS would grab 1e from http://people.freebsd.org/~jdp/s1g/ and then make 
KS and add the current port. Version 1f doesn't take long to build.

KS Kent

I did not get that one? Does pkg_add not reconize the new format, or?
Even if I try to run pkg_add without any parameters, it still dies, is
it pkg_add that is broken?

What do you mean with 1e and 1f? I'm not into this cvsup thing, I just
need it to update my ports tree. Should I get the source and build it,
and if so, where should I place the source prior to build? Will this
fix my problem, or is it an entire new problem?

--
Med venlig hilsen/Best regards,
 Søren Neigaard mailto:[EMAIL PROTECTED]
--
 Everything should be made as simple as possible, but no simpler.


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



Re: samba server as a PDC

2002-09-26 Thread D. Penev

On Thu, Sep 26, 2002 at 10:48:45PM +, Peter Ulrich Kruppa wrote:
Date: Thu, 26 Sep 2002 22:48:45 + (GMT)
From: [EMAIL PROTECTED] (Peter Ulrich Kruppa)
To: D. Penev [EMAIL PROTECTED]
Cc: Peter Ulrich Kruppa [EMAIL PROTECTED],
   [EMAIL PROTECTED]
Subject: Re: samba server as a PDC

Yes, thanks to *everybody* !

I think I mixed up
chown
chgrp and
chmod
somehow. Now
# ls -al /usr/local/samba/profiles
delivers

total 4
drwxr-xr-x   4 root   samba  512 26 Sep 20:48 .
drwxr-xr-x   4 root   samba  512 26 Sep 21:05 ..
drwxr-xr-x  15 lukas_mueller  samba  512 26 Sep 22:41 lukas_mueller
drwxr-xr-x  13 root   samba  512 26 Sep 20:24 root

and everything works. His is just in time because we are going to
set up a second computer room in our school during the next
weeks.


Regards,

Uli.


On Thu, 26 Sep 2002, D. Penev wrote:

 On Thu, Sep 26, 2002 at 09:09:08PM +, Peter Ulrich Kruppa wrote:
 Date: Thu, 26 Sep 2002 21:09:08 + (GMT)
 From: [EMAIL PROTECTED] (Peter Ulrich Kruppa)
 To: D. Penev [EMAIL PROTECTED]
 cc: Peter Ulrich Kruppa [EMAIL PROTECTED],
  [EMAIL PROTECTED]
 Subject: Re: samba server as a PDC
 
 On Wed, 25 Sep 2002, D. Penev wrote:
 
  On Wed, Sep 25, 2002 at 10:10:34PM +, Peter Ulrich Kruppa wrote:
  Date: Wed, 25 Sep 2002 22:10:34 + (GMT)
  From: [EMAIL PROTECTED] (Peter Ulrich Kruppa)
  To: [EMAIL PROTECTED]
  Subject: samba server as a PDC
  
  Hi,
  
  I am trying to set up a samba server as a primary domain
  controller for about 30 NT and Win2000 machines (and about 800
  users). Password administration and homes services seem to work
  ok.
  But the machines should also be able to read the user's profile
  from the server when logging on and write them back when logging
  off(roaming profiles). This only works for users with root
  access to the server.
  Ordinary users can read their profile when starting up, but
  logging off they receive an access denied message.
  I guess, I have to set permissions correctly, but I have no idea
  how.
  My users belong to group called samba, their profiles are stored
  in a directory /usr/local/samba/profiles .
 
  What ls -al /usr/local/samba/profiles show? My is :
 
  # ls -al profiles
  total 4
  drwxr-xr-x   4 DomainAdmin  DomainAdmins  512 Jul 15 23:04 .
  drwxr-xr-x   5 root wheel 512 Jul 15 21:16 ..
  drwx--  13 DomainAdmin  DomainAdmins  512 Jul 19 23:32 DomainAdmin
  drwx--  13 DomainUser   DomainUsers   512 Jul 26 22:15 DomainUser
  [snip]
 
 Hmm ... I have got
 
 ---
 total 4
 drwxr-xr-x   4 root   samba  512 26 Sep 20:48 .
 drwxrwx---   4 root      512 26 Sep 21:02 ..

 I don't think that this causing the problem.

What I don't saw is that /usr/local/samba is not world readable, but below
suggestions that I gave are still valid for roaming profiles.


 drwxr-xr-x  14 lukas_mueller  samba  512 26 Sep 20:33 lukas_mueller

 Is this user have problems with write permission ? I don't see any incorrect
 permissions, and hi must save his profile without any problems but users that
 haven't profiles cannot create them because they haven't write permission to
 /usr/local/samba/profiles. I see two sollutions:

 1. chmod 775 /usr/local/samba/profiles
 2. manualy create users directories as root and each of them chown to user

 drwxr-xr-x  13 root   samba  512 26 Sep 20:24 root
 
 -
 ... and I have to admit, I don't know who group  is. I don't
 have it in my /etc/group.
 How do I change permissions for .. then?
 
 
 Uli.
 
 
 
 
 
  
  Any idea what could be done?
  
  Thanks for your answers.
  
  
  Uli.
  
  *---*
  *Peter Ulrich Kruppa*
  *  -  Wuppertal -   *
  *  Germany  *
  *---*
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 
  --
  Regards,
  D. Penev
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 
 
 *---*
 *Peter Ulrich Kruppa*
 *  -  Wuppertal -   *
 *  Germany  *
 *---*

 --
 Regards,
 D. Penev

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


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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

-- 
Regards,
D. Penev

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



Unusual output from dmesg

2002-09-26 Thread Weston M. Price

Hello,
I was doing some checking today and found the following as a result of 
running dmesg:

config di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config di aic0
No such device: aic0
Invalid command or syntax.  Type `?' for help.
config di aha0
No such device: aha0
Invalid command or syntax.  Type `?' for help.
config di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config q



Can anyone tell me what is going on here? Thanks. 

Weston

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



Wondering about mail clients (specific features)

2002-09-26 Thread Oscar Ricardo Silva

It is not my intention to start any religious wars about mail clients.  I'm 
currently using Eudora (stop, drop, roll and duck incoming slings and 
arrows) on Windows.  One feature I like is that when mail is received and 
filtered into different mailboxes, you are told there is new mail in those 
mailboxes.  I subscribe to many different mailing lists and for the sake of 
my sanity I filter incoming mail from each list into its own mailbox.  I've 
tried using pine with procmail and mail is filtered properly but I don't 
know that there is new mail in mailboxes other than In.

Is there something I'm missing in pine that will do this?  Are there other 
mail clients that will notify you when new mail has been received and 
placed in a mailbox other than IN ?


Oscar


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



Re: Wondering about mail clients (specific features)

2002-09-26 Thread John Bleichert

On Thu, 26 Sep 2002, Oscar Ricardo Silva wrote:

 Date: Thu, 26 Sep 2002 15:38:35 -0500
 From: Oscar Ricardo Silva [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Wondering about mail clients (specific features)
 
 It is not my intention to start any religious wars about mail clients.  I'm 
 currently using Eudora (stop, drop, roll and duck incoming slings and 
 arrows) on Windows.  One feature I like is that when mail is received and 
 filtered into different mailboxes, you are told there is new mail in those 
 mailboxes.  I subscribe to many different mailing lists and for the sake of 
 my sanity I filter incoming mail from each list into its own mailbox.  I've 
 tried using pine with procmail and mail is filtered properly but I don't 
 know that there is new mail in mailboxes other than In.
 
 Is there something I'm missing in pine that will do this?  Are there other 
 mail clients that will notify you when new mail has been received and 
 placed in a mailbox other than IN ?
 
 
 Oscar
 
 

There are a bazillion utilities for X and each window manager that do 
email notification for different mailboxes, such as kbiff, xbiff, ... I 
used to use the wmbiff dock app in WindowMaker a lot, great little app.

I'm a Pine user as well, dunno if/which other email clients provide this 
functionality. Kmail or Sylpheed?

JB


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: Wondering about mail clients (specific features)

2002-09-26 Thread Matthew Hunt

On Thu, Sep 26, 2002 at 03:38:35PM -0500, Oscar Ricardo Silva wrote:

 my sanity I filter incoming mail from each list into its own mailbox.  I've 
 tried using pine with procmail and mail is filtered properly but I don't 
 know that there is new mail in mailboxes other than In.
 
 Is there something I'm missing in pine that will do this?  Are there other 
 mail clients that will notify you when new mail has been received and 
 placed in a mailbox other than IN ?

Yes, mutt will do this.  You need to add a line in your ~/.muttrc like
this:

mailboxes /var/mail/blah =donuts =wombatsex =flagellation

(The names of your incoming mailboxes may differ, depending on your
interests.  The = sign means the folder is in your ~/Mail directory.
There's probably some knob to change that, too.)

-- 
Matthew Hunt [EMAIL PROTECTED] * Clearly there are more things in the
http://www.pobox.com/~mph/   * heavens than anyone anticipated. -enp

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



Re: VPN: Windows client to FreeBSD?

2002-09-26 Thread Mike Tancsa

On 23 Sep 2002 15:36:49 -0400, in sentex.lists.freebsd.questions you wrote:

   Hello.  I'm looking into setting up a VPN so that people at home with
cable modems/dsl/etc can connect into our corporate network.  I've
looked at a bunch of ipsec how-to's (using racoon mostly), but they all
seem to be geared towards a setup that connects two freeBSD machines
together and passes packets securely between them.  I'd like to use SSH
sentinel, or some other free Windows based client on one end, and then
the freebsd box with VPN software running on the other to connect the
client to the work network as though it were physically plugged into it.

What can I use to do this?  Most of the users use Windows 98 at home, so
they don't have any built in ipsec programs.  The description of the
linksys BEFVP41 is pretty similar to what I'd like to setup. 
http://www.linksys.com/products/product.asp?grid=23prid=411

That would probably work. Another option is to use mpd (/usr/ports/net/mpd)
on the FreeBSD side and let the Windows clients use MS PPTP.  If you are
aware of the security limitations / issues of PPTP and you are OK with them
you should be fine.

---Mike
Mike Tancsa  ([EMAIL PROTECTED])  
Sentex Communications Corp, 
Waterloo, Ontario, Canada
Given enough time, 100 monkeys on 100 routers 
could setup a national IP network. (KDW2)

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



Re: pkg_add failure on 4.6.2

2002-09-26 Thread Kent Stewart



Søren Neigaard wrote:
 Thursday, September 26, 2002, 10:44:38 PM, Kent wrote:
 
 KS Søren Neigaard wrote:
 
I just installed 4.6.2, and I wanted to install cvsup. So I brought
the cvsup-16-1f.tbz from ftp.freebsd.org, and did a
'pkg_add cvsup-16-1f.tbz', but whenever I run pkg_add, it core dumps.

How can I redirect the error message from pkg_add to a file, and how
do I attache files with 'mail', so I can send you some more info on
this?

 
 KS I don't think you can get what you want to install. Your system 
 KS doesn't recognize the new format and that is why pkg_add is dying. 
 KS They have reverted to the old format but that will take a while. I 
 KS would grab 1e from http://people.freebsd.org/~jdp/s1g/ and then make 
 KS and add the current port. Version 1f doesn't take long to build.
 
 KS Kent
 
 I did not get that one? Does pkg_add not reconize the new format, or?
 Even if I try to run pkg_add without any parameters, it still dies, is
 it pkg_add that is broken?
 
 What do you mean with 1e and 1f? I'm not into this cvsup thing, I just
 need it to update my ports tree. Should I get the source and build it,
 and if so, where should I place the source prior to build? Will this
 fix my problem, or is it an entire new problem?
 

No, you do not have to build it. You can download version ...1f.tgz 
from one of the mirrors and add it. The pkg_add on your system does 
not recognize the new compression scheme. Find a ...1f.tgz that you 
can download and pkg_add it.

Kent

-- 
Kent Stewart
Richland, WA

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


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



Re: pkg_add failure on 4.6.2

2002-09-26 Thread Kris Kennaway

On Thu, Sep 26, 2002 at 10:31:57PM +0200, S?ren Neigaard wrote:
 I just installed 4.6.2, and I wanted to install cvsup. So I brought
 the cvsup-16-1f.tbz from ftp.freebsd.org, and did a
 'pkg_add cvsup-16-1f.tbz', but whenever I run pkg_add, it core dumps.

You should use the 4.6.2-RELEASE packages with 4.6.2; they're in .tgz
format.

Kris



msg02995/pgp0.pgp
Description: PGP signature


Re: Unusual output from dmesg

2002-09-26 Thread Kevin Oberman

 From: Weston M. Price [EMAIL PROTECTED]
 Date: Thu, 26 Sep 2002 17:07:00 +
 Sender: [EMAIL PROTECTED]
 
 Hello,
   I was doing some checking today and found the following as a result of
 running dmesg:
 
 config di sn0
 No such device: sn0
 Invalid command or syntax.  Type `?' for help.
 config di lnc0
 No such device: lnc0
 Invalid command or syntax.  Type `?' for help.
 config di ie0
 No such device: ie0
 Invalid command or syntax.  Type `?' for help.
 config di fe0
 No such device: fe0
 Invalid command or syntax.  Type `?' for help.
 config di bt0
 No such device: bt0
 Invalid command or syntax.  Type `?' for help.
 config di aic0
 No such device: aic0
 Invalid command or syntax.  Type `?' for help.
 config di aha0
 No such device: aha0
 Invalid command or syntax.  Type `?' for help.
 config di adv0
 No such device: adv0
 Invalid command or syntax.  Type `?' for help.
 config q
 
 
 
 Can anyone tell me what is going on here? Thanks.

Well, almost certainly.

You installed FreeBSD on a system. You booted either the FreeBSD boot
floppy or the installation CD and went into the visual configuration
tool. You de-selected a bunch of things your system didn't have or need
to use for the install. You installed the system. You customized your
kernel and removed many devices not present or used on your
system. These include sn, lnc, ie, fe, bt, aic, aha, and adv.

The initial configuration from the floppy/CD created a system with a
/boot/kernel.conf that disabled all of these devices, but now that
these devices ar no longer present, they are errors.

To clean this up, edit /boot/kernel.conf and delete old entries. Don't
delete the terminating 'q'. Or, if you don't want anything in the
file, edit /boot/loader.conf and delete
'userconfig_script_load=YES'. I believe that this will cause the
system to not run kernel.conf, but I have never tried this.

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


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



Re[2]: pkg_add failure on 4.6.2

2002-09-26 Thread Sren Neigaard

Thursday, September 26, 2002, 11:18:49 PM, Kent wrote:



KS Søren Neigaard wrote:
 Thursday, September 26, 2002, 10:44:38 PM, Kent wrote:
 
 KS Søren Neigaard wrote:
 
I just installed 4.6.2, and I wanted to install cvsup. So I brought
the cvsup-16-1f.tbz from ftp.freebsd.org, and did a
'pkg_add cvsup-16-1f.tbz', but whenever I run pkg_add, it core dumps.

How can I redirect the error message from pkg_add to a file, and how
do I attache files with 'mail', so I can send you some more info on
this?

 
 KS I don't think you can get what you want to install. Your system 
 KS doesn't recognize the new format and that is why pkg_add is dying. 
 KS They have reverted to the old format but that will take a while. I 
 KS would grab 1e from http://people.freebsd.org/~jdp/s1g/ and then make 
 KS and add the current port. Version 1f doesn't take long to build.
 
 KS Kent
 
 I did not get that one? Does pkg_add not reconize the new format, or?
 Even if I try to run pkg_add without any parameters, it still dies, is
 it pkg_add that is broken?
 
 What do you mean with 1e and 1f? I'm not into this cvsup thing, I just
 need it to update my ports tree. Should I get the source and build it,
 and if so, where should I place the source prior to build? Will this
 fix my problem, or is it an entire new problem?
 

KS No, you do not have to build it. You can download version ...1f.tgz 
KS from one of the mirrors and add it. The pkg_add on your system does 
KS not recognize the new compression scheme. Find a ...1f.tgz that you 
KS can download and pkg_add it.

KS Kent

I have now found the 1f.tgz, but it still core dumps!? As said,
pkg_add even core dumps if I just run pkg_add without specifying any
file it should add, it's like my pkg_add is broken or something.

I have no idea what to look after in the dump file, but it complains
about some bus failure or something. If only I knew how to redirect
the error message to 'mail', then I could mail it to my wondoze box,
and then mail the error message to this list. Maybe that could help me
to figure out what the problem is :)

--
Med venlig hilsen/Best regards,
 Søren Neigaard mailto:[EMAIL PROTECTED]
--
 First we thought the PC was a calculator. Then we found out how to turn numbers into 
letters with ASCII — and we thought it was a typewriter. Then we discovered graphics, 
and we thought it was a television. With the World Wide Web, we've realized it's a 
brochure.


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



Re: Wondering about mail clients (specific features)

2002-09-26 Thread Chris Snyder

Oscar Ricardo Silva wrote:

  It is not my intention to start any religious wars about mail
  clients.  I'm currently using Eudora (stop, drop, roll and duck
  incoming slings and arrows) on Windows.  One feature I like is that
  when mail is received and filtered into different mailboxes, you are
  told there is new mail in those mailboxes.

Maybe this isn't helpful for the command-line set, but I've found
Mozilla mail to be an excellent replacement for Eudora (no ads!), and it
has mail filters. Not sure about notification, although mailboxes with
new messages show up as bold in the mailbox pane.

Best of all it's cross-platform so you can try it alongside Eudora on
Windows and then migrate everything to FreeBSD when ready. (I haven't
actually *tried* this WRT mailbox settings, YMMV-- but at least they
look and work the same.)





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



Re: pkg_add failure on 4.6.2

2002-09-26 Thread Adrian Mugnolo

Hi Kris et al,

  I just installed 4.6.2, and I wanted to install cvsup. So I brought
  the cvsup-16-1f.tbz from ftp.freebsd.org, and did a 'pkg_add
  cvsup-16-1f.tbz', but whenever I run pkg_add, it core dumps.

 You should use the 4.6.2-RELEASE packages with 4.6.2; they're in .tgz
 format.

Just a note about this.  The remote fetching feature (-r option) is
broken in pkg_add(1) as distributed with 4.6.2-RELEASE.  It needs to be
upgraded to the version tagged RELENG_4_6.  Otherwise, packages will
download from the stable branch.

HTH

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



RE: 4.6.2 [sound] cs4281 on Toshiba 1715 laptop

2002-09-26 Thread Orion Hodson


Bill Schoolcraft wrote:
 I've recompiled and added as a grand total to date, 3 entries in
 my new kernel, here they are:

 options PNPBIOS
 device  pcm
 device  csa

FWIW, 'device csa' is not needed. The cs4281 driver is independent of the csa 
bridge code.

 pcm0: Crystal Semiconductor CS4281 irq 5 at device 8.0 on pci0
 pcm0: unable to allocate register space
 device_probe_and_attach: pcm0 attach returned 6

Try looking in your bios for a setting along the lines of 'PNP OS', if it 
exists set it to no.  If it doesn't try adding 'options PCI_ENABLE_IO_MODES' 
 to your kernel config.

cheers
- Orion






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



Re: [sound] linker_file_sysinit snd_pcm.ko failed to register! 17

2002-09-26 Thread Orion Hodson

Bill Schoolcraft writes:
 In looking for references for the error:
 
 linker_file_sysinit snd_pcm.ko failed to register! 17
 
 I don't find much, I did a kldstat and that produced:

 15 0xc010 420668   kernel
 21 0xc135b000 7000 linprocfs.ko
 31 0xc13d1000 3000 daemon_saver.ko
 41 0xc13d6000 14000linux.ko
 61 0xc1509000 14000snd_pcm.ko

 So thank gawd the module is there, just wondering if I'm missing
 anything. I was reading that in some cases you would add
 something like this to /boot/loader.conf
 
 maestro3_load=YES

If you have sound compiled into the kernel you cannot dynamically load other 
drivers since they attempt to pull in the pcm module but this fails because it 
already exists in the kernel.  This isn't really a problem except for the few 
sound drivers that exist as loadable modules only, eg maestro3 and aureal 
chipsets spring to mind.

cheers
- Orion



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



Re: Performance issues with natd

2002-09-26 Thread David Kelly

On Thursday 26 September 2002 08:02 am, Vallo Kallaste wrote:

 All that said, even old (16bit)NE2000 clone will easily sustain
 800+kB/s on my old 133Mhz Pentium with CPU load 20% or so. 400kB/s
 versus 100kB/s throughput difference in this particular case isn't
 matter of 3Com vs. Via NIC, I guess. I'll suggest trying out
 IPFilter (ipf) and let us know of the results.

Yeah, and I run ipfirewall/divert/natd on PII-300's between xl0 and fxp0 
and have no thruput problems. I don't remember what or if he said his 
firewall ruleset was like, or if it was open. The difference between 
his system and my systems is a built-for-cheap Rhine chipset NIC.

Rhythm is important in TCP/IP. When all the rowers stroke in unison then 
the boat moves fast and smooth. When one rower strokes to a different 
drum then the ride is rougher. Ssh via terminal on MacOS X to FreeBSD 
sshd is bursty and slow to update the terminal window when connected 
thru my ipfw/FreeBSD router. Better Telnet With SSH under Classic is 
slick and smooth. Scp in the terminal window has excellent thruput. The 
burstyness of ssh is due to conflicting rhythms of the schedulers on 
the remote end, firewall, and the MacOS client end. And I think the 
same sort of thing is happening in this thread.

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


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



i-Buddie 4: Synaptics touch pad FreeBSD support?

2002-09-26 Thread Guido Van Hoecke

I am experimenting with FreeBSD to be prepared when my new i-Buddie 4 
arrives. (Specs at http://desknote.biz/sub/spec-i-buddie4.htm). I wonder 
whether anybody has any experience with this new 'desknote' computer.

I specifically would like support for the Synaptics touch pad, but did 
not find much in the FreeBSD documentation, nor in the ports collection.

So I went to see at http://www.synaptics.com/support/downloads.cfm and 
found a pointer to a linux 'tpconfig' touch pad driver available at 
http://compass.com/synaptics/ which has not yet been ported to FreeBSD.

So I tried to use this on my little FreeBSD testbox:

~/tpconfig-3.1.3 # ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
~/tpconfig-3.1.3 # ./make
Makefile, line 254: Need an operator
make: fatal errors encountered -- cannot continue
~/tpconfig-3.1.3 #

I used vim to add line numbers in the Makefile and copypasted the result:

1   # Generated automatically from Makefile.in by configure.
2   # Makefile.in generated automatically by automake 1.4 from Makefile.am
3   
4   # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
5   # This Makefile.in is free software; the Free Software Foundation
6   # gives unlimited permission to copy and/or distribute it,
7   # with or without modifications, as long as this notice is preserved.
8   
9   # This program is distributed in the hope that it will be useful,
10  # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12  # PARTICULAR PURPOSE.
13  
14  # Source: $Id: Makefile.am,v 1.2 2000/11/05 21:50:25 cph Exp $
15  
16  
17  SHELL = /bin/sh
18  
19  srcdir = .
20  top_srcdir = .
21  prefix = /usr/local
22  exec_prefix = ${prefix}
23  
24  bindir = ${exec_prefix}/bin
25  sbindir = ${exec_prefix}/sbin
26  libexecdir = ${exec_prefix}/libexec
27  datadir = ${prefix}/share
28  sysconfdir = ${prefix}/etc
29  sharedstatedir = ${prefix}/com
30  localstatedir = ${prefix}/var
31  libdir = ${exec_prefix}/lib
32  infodir = ${prefix}/info
33  mandir = ${prefix}/man
34  includedir = ${prefix}/include
35  oldincludedir = /usr/include
36  
37  DESTDIR =
38  
39  pkgdatadir = $(datadir)/tpconfig
40  pkglibdir = $(libdir)/tpconfig
41  pkgincludedir = $(includedir)/tpconfig
42  
43  top_builddir = .
44  
45  ACLOCAL = aclocal
46  AUTOCONF = autoconf
47  AUTOMAKE = automake
48  AUTOHEADER = autoheader
49  
50  INSTALL = /usr/bin/install -c
51  INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
52  INSTALL_DATA = ${INSTALL} -m 644
53  INSTALL_SCRIPT = ${INSTALL_PROGRAM}
54  transform = s,x,x,
55  
56  NORMAL_INSTALL = :
57  PRE_INSTALL = :
58  POST_INSTALL = :
59  NORMAL_UNINSTALL = :
60  PRE_UNINSTALL = :
61  POST_UNINSTALL = :
62  CC = gcc
63  MAKEINFO = makeinfo
64  PACKAGE = tpconfig
65  VERSION = 3.1.3
66  
67  AUTOMAKE_OPTIONS = VERSION=1.2
68  bin_PROGRAMS = tpconfig
69  tpconfig_SOURCES = tpconfig.c synaptics.c ALPS.c utils.c
70  MAINTAINERCLEANFILES = Makefile.in configure aclocal.m4
 install-sh 
missing mkinstalldirs   COPYING INSTALL
71  
72  # don't know why this is being omitted...
73  EXTRA_DIST = configure
74  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
75  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
76  CONFIG_CLEAN_FILES =
77  PROGRAMS =  $(bin_PROGRAMS)
78  
79  
80  DEFS =  -DPACKAGE=\tpconfig\ -DVERSION=\3.1.3\ -DHAVE_FCNTL_H=1 
-DHAVE_UNISTD_H=1  -I. -I$(srcdir)
81  CPPFLAGS =
82  LDFLAGS =
83  LIBS =
84  tpconfig_OBJECTS =  tpconfig.o synaptics.o ALPS.o utils.o
85  tpconfig_LDADD = $(LDADD)
86  tpconfig_DEPENDENCIES =
87  tpconfig_LDFLAGS =
88  CFLAGS = -g -O2
89  COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS)
90  CCLD = $(CC)
91  LINK = $(CCLD) $(AM_CFLAGS) 

Re: Apache CGI problem

2002-09-26 Thread Fernando Gleiser

On Fri, 27 Sep 2002, Ihsan Junaidi Ibrahim wrote:

 Hello all,

 Error 500 : Internal server error.

Internal Server Error usually means your script has crashed, or it hasn't
produced a complete output. What does apache's error-log say?


Fer


 --
 Thank you for your time,
 Ihsan

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

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



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



Re: i-Buddie 4: Synaptics touch pad FreeBSD support?

2002-09-26 Thread Richard Tobin

 So I went to see at http://www.synaptics.com/support/downloads.cfm and 
 found a pointer to a linux 'tpconfig' touch pad driver available at 
 http://compass.com/synaptics/ which has not yet been ported to FreeBSD.

If it's a driver in the sense of some kernel code then it's going to need
a lot of work.

 Makefile, line 254: Need an operator

But this is just because you need to use gmake instead of make.

-- Richard

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



Re: i-Buddie 4: Synaptics touch pad FreeBSD support?

2002-09-26 Thread Guido Van Hoecke

 I specifically would like support for the Synaptics touch pad, but did 
 not find much in the FreeBSD documentation, nor in the ports collection.
 
 So I went to see at http://www.synaptics.com/support/downloads.cfm and 
 found a pointer to a linux 'tpconfig' touch pad driver available at 
 http://compass.com/synaptics/ which has not yet been ported to FreeBSD.

Just for the record: the touchpad acts as a normal ps2 mouse and needs 
no special driver at all!
(Thanx 2 hacker Brandon D. Valentine for the info)

Hail FreeBSD!

Guido.


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



Filesystem Question

2002-09-26 Thread Eff Norwood

Greetings,

I have a filesystem question which I could not find the answer to either in
the documentation or on the web. That question is:

Is it possible to use Linux EXT3 as the only filesystem for an entire
FreeBSD system?

If yes, I'd love to know how. If no, I'd love to know why not. I think this
would be a great addition to the FAQ.

Many thanks,

Effrem Norwood



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



Re: newadvent

2002-09-26 Thread Lyris ListManager

You have been subscribed to newadvent with the email address 
[EMAIL PROTECTED]

To unsubscribe, send a blank email to [EMAIL PROTECTED]



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



Re: newadvent

2002-09-26 Thread Lyris ListManager

You have been subscribed to newadvent with the email address 
[EMAIL PROTECTED]

To unsubscribe, send a blank email to [EMAIL PROTECTED]



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



Re: your unsubscribe request

2002-09-26 Thread Lyris ListManager

As you requested, you have been unsubscribed from 'newadvent'.

---

Return-Path: [EMAIL PROTECTED]
Received: from ariel.ucs.unimelb.edu.au ([128.250.20.3]) by caseyjones.dundee.net with 
SMTP (Lyris ListManager WIN32 version 5.0c); Thu, 26 Sep 2002 20:38:29 -0400
Received: from elkanah.its.unimelb.edu.au (elkanah.its.unimelb.edu.au [128.250.18.41])
by ariel.ucs.unimelb.edu.au (8.12.3/8.12.3) with ESMTP id g8R0cSiB002145
for [EMAIL PROTECTED]; Fri, 27 Sep 2002 10:38:28 
+1000 (EST)
Content-Type: text/plain;
  charset=us-ascii
From: Jacob Rhoden [EMAIL PROTECTED]
Organization: University of Melbourne
To: newadvent-request
Date: Fri, 27 Sep 2002 10:38:27 +1000
X-Mailer: KMail [version 1.4]
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: [EMAIL PROTECTED]
subject:

# Mail sent to leave-newadvent-21666527e was converted to these commands: 
unsubscribe newadvent [EMAIL PROTECTED] confirm
end

# This is the text of the message that triggered the action:

Return-Path: [EMAIL PROTECTED]
Received: from ariel.ucs.unimelb.edu.au ([128.250.20.3]) by caseyjones.dundee.net with 
SMTP (Lyris ListManager WIN32 version 5.0c); Thu, 26 Sep 2002 20:38:29 -0400
Received: from elkanah.its.unimelb.edu.au (elkanah.its.unimelb.edu.au [128.250.18.41])
by ariel.ucs.unimelb.edu.au (8.12.3/8.12.3) with ESMTP id g8R0cSiB002145
for [EMAIL PROTECTED]; Fri, 27 Sep 2002 10:38:28 
+1000 (EST)
Content-Type: text/plain;
  charset=us-ascii
From: Jacob Rhoden [EMAIL PROTECTED]
Organization: University of Melbourne
To: [EMAIL PROTECTED]
Date: Fri, 27 Sep 2002 10:38:27 +1000
X-Mailer: KMail [version 1.4]
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: [EMAIL PROTECTED]


--=20
Jacob RhodenPhone: +61 3 9844 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386


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



need help with pkg_add

2002-09-26 Thread TapRoot420

Hello, I just installed FreeBSD 5.0 DP1 and everything is great with the system except 
i cant get pkg_add to work via ftp. I am trying to install the current afterstep 
package from the offical freebsd ftp server.
 
Here is what i am trying per the handbook. 

# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.0-CURRENT/p
ackages/afterstep/afterstep-1.8.11.tbz
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.0-CURRENT/packages/af
terstep/afterstep-1.8.11.tbz...
gzip: stdin: not in gzip format
tar: child returned status 1
Broken pipe


I tried with the -r option.

# pkg_add -r 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.0-CURRENT/packages/All/afterstep-1.8.11.tbz
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/releases/i38 6/5. 
0-CURRENT/packages/All/aft erstep -1.8.11.tbz...
gzip: stdin: not in gzip format
tar: child returned status 1
Broken pipe


The above will probably get trunicated as i am using a html interface for mail until 
my system gets setup so please forgive. Anyways..yes i am formating it as:

pkg_add ftp://ftp.freebsd.org/whatever

The man does show .tgz as the package format but i dont see that format and assume its 
been changed to .tbz. I have downloaded several .tbz packages to local disk and used 
pkg_add to install without trouble but i would like to use the ftp methode on this one 
so i dont have to find all the deps etc... as this methode is suppose to install all 
the deps automatically.

Ftp is working as i can manually #ftp ftp.freebsd.org

any help would be appreciated.

thanks.






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



$60,000,000 IN 6 MONTHS! VERIFIABLE! CHEAT-PROOF!

2002-09-26 Thread nharlan

MY PERSONAL GOAL IS TO MAKE CERTAIN THAT YOU RECEIVE $60,000,000 IN 6 MONTHS OR LESS!

FACT #1
Those who get in on a proven successful program at it's birth are guaranteed 
success!

FACT #2
THE UP WAS JUST BORN! YOU ARE AT YOUR DREAM LOCATION! THIS IT IT!

* JUST LAUNCHED!
*YOU CANNOT LOSE!
*WE WON'T LET YOU!
*OUR GOAL IS TO GET YOU $60,000,000 IN 6 MONTHS OR LESS!
*JOIN A FRATERNITY OF HELPERS WHO WILL HELP YOU SUCCEED!
*THE ULITMATE PROGRAM (UP) IS THE BEST PROGRAM IN EXISTENCE!
*THE LAST PROGRAM YOU WILL EVER JOIN!

STOP playing around with programs that possibly get you $20,000 or $40,000.

We will help YOU get $60,000,000 IN 6 MONTHS OR LESS!

The UP out-performs any other program because it's self-regulated. 100% Cheatproof and 
Verifiable. YOU VERIFY EACH MEMBER IS REAL BEFORE YOU JOIN! Thereby eliminating ALL 
guesswork!

SIMPLE TO DO + YOU ARE NEVER ALONE! FRATERNITY OF HELPERS helping EACH OTHER SUCCEED!

Your success is Our Success!

Get your FREE copy ot THE UP!

Request THE UP by email, with 'SEND UP in the Subject LIne to:

[EMAIL PROTECTED]

OR

Go to the Official UP Site for more information at:

http://www.theultimateprogram.com/default.asp?up=2054

My goal is for you to receive: $60,000,000 IN 6 MONTHS OR LESS!  WE CAN DO THIS!  When 
YOU SUCCEED, I SUCCEED, AND WE ALL WIN!

JOIN THE UP TODAY before the Members List fills up!

Sincerely,

Nancy Harlan
UP Member
[EMAIL PROTECTED]



GO TO THE OFFICIAL SITE:
http://www.theultimateprogram.com/default.asp?up=2054

ANY QUESTIONS, ANYTIME!
[EMAIL PROTECTED]




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



IP NAT AND internal servers

2002-09-26 Thread David B

Sorry, if this is a bone-headed question,
I normally search for the answers but I am not exactly sure of that
which I am searching, so a bit of direction or a complete
answer would be nice.

So I have a routed DSL connection, with a single static address,
the DSL modem/router has an integrated 4-switch.
My question is how should I setup my IPs for my server box, so
things work well.

The DSL router does NAT/PAT and I have all ports forwarded? to
the server(private IP), the router/modem/switch is assigned the
static IP (public IP). So I have one issue at hand but am thinking
how to best configure things so that perhaps will not have this
issue with other software packages.

Issue at hand is IMP and apache, when IMP redirects the page on
login it goes no further because the it takes the IP of the server
box 10.0.0.1 rather than the public IP say 67.3.4.45, I am not
sure if I am explaining correctly.
   Inet
|
  +---+
  | 67.3.4.45 | modem/router(my WAN ip)
  +---+
   | | | |
   other |
   hosts |   ++ web/imap/smtp
 |---|10.0.0.1| server
 ++

So I am wondering can/should I IP alias the NIC to my static IP?
Should I edit hosts  to be something like
127.0.0.1  localhost   serverbox   67.3.4.45   ??
Or is this something that I will have to make config changes and
or hacks to every software package that doesn't work with the
servers IP being a private IP(different from the Public IP).
Is there something else of which I am not thinking?
What is all the methodology behind how this should be done/works
and where can I read about it (especially real world solutions)?

I have no domain registered as of yet but will be doing name
based vhosts in the future, I have to work with only one
static IP. And in the future the above server will be a
gateway to more servers on a switch all using private
addresses (you know divide up the task between diffrent
boxes).

Sorry for being long winded and overly broad but I am not
sure of the concepts and more particularly their application.

Thanks,

David Burton
(please CC me)


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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



Re: powering down

2002-09-26 Thread Jack L. Stone

At 09:35 PM 9.26.2002 -0400, John Bleichert wrote:
Hello All

Is there any way to get FreeBSD to actually shut off my hardware? It won't 
do so on any of my boxes using 'shutdown -h now'. 

Just curious.

Thanks - JB


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


You'll need to make these changes:

==to the kernel -- comment out the first line and add the second and
recompile the kernel
# Power management support (see LINT for more options)
#device apm0at nexus? disable flags 0x20 # Advanced Power
Management
device apm0at nexus? flags 0x20 # Advanced Power Management

==to the rc.conf -- add the line below
apm_enable=YES

After you reboot, you should be able to use shutdown -p now and it will
turn off the machine. Look at the dmesg after the boot to see if you see
the apm onboard stuff. Check your BIOS too.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: powering down

2002-09-26 Thread Lowell Gilbert

John Bleichert [EMAIL PROTECTED] writes:

 Is there any way to get FreeBSD to actually shut off my hardware? It won't 
 do so on any of my boxes using 'shutdown -h now'. 

As suggested in the FAQ, try APM.  Start with man apm.

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



Re: How to shut down cleanly by killing power

2002-09-26 Thread Rob B

At 17:02 26/09/2002 +0300, Petri Riihikallio sent this up the stick:

A couple of days ago I sent a message asking how to shut down a FreeBSD 
system when I KNOW the power will be off after the next script command.

Nobody has commented yet.

Maybe the question wasn't the clearest?

Am I the only one using an UPS with FreeBSD?

Not at all

It doesn't feel right to crash after the UPS has run dry. (I don't have a 
generator.) About the first thing I was tought about Unix system 
administration was: Always shut down properly. That's why I bought the UPS.

How could you crash after the UPS has run dry?  You say you are using NUT, 
then NUT should be able to initiate a system shutdown _before_ the UPS runs 
out of juice - check your timings, don't let the system run for longer than 
you have the capacity for.

How can you send a command to the UPS _after_ the system has powered 
down?  Why tell the UPS to shutdown - your UPS should be able to turn 
itself off when it runs out of battery.

Maybe you should do shutdown -h now to actually halt the system, then 
when the UPS powers off everything is dead.  If the power comes back on, 
the UPS recharges a bit and then powers up your system normally.

Or maybe I can't understand what you are trying to do

Cheers,
Rob

At 22:20 +0300 22.9.2002, Petri Riihikallio wrote:
Hello

I have a FreeBSD 4.6.2 box and an UPS. I have chosen NUT 
(http://www.exploits.org/nut) as my UPS monitor. Everything compiles and 
runs fine. No problems with NUT. I have a problem with the shutdown script.

How do I shut down the system properly?

The problem is that I want to issue the command upsdrvctl shutdown, 
which switches off the power from the UPS. What do I need to do before that?

To be more specific: When the AC power is down and the UPS is almost 
exhausted, NUT creates a file /etc/killpower and starts system shutdown 
with shutdown -h now. Init then runs all scripts in /usr/local/etc/rc.d 
with argument stop. I have put a script like this in my /usr/local/etc/rc.d

-/usr/local/etc/rc.d/znut.sh:
#! /bin/sh
case $1 in
start)
 su nut -c /usr/local/libexec/upsdrvctl start
 su nut -c /usr/local/sbin/upsd
 /usr/local/upsmon
 ;;
stop)
 if (test -f /etc/killpower) then
 echo Killing the power, bye!
 /bin/sync
 ### WHAT TO DO HERE ?  ###
 /usr/local/bin/upsdrvctl shutdown
 ### never makes it this far
 else
 killall upsmon
 killall upsd
 /usr/local/libexec/upsdrvctl stop
 fi
 ;;
*)
 echo Usage: $0: [ start | stop ] 21
 exit 65
 ;;
esac
---

I have called the script znut.sh, so it should run last after all other 
shutdown scripts. (Nothing else runs after it in a powerfail situation 
;-) Can I rely on alphabetical ordering?

When my script finds the /etc/killpower file it syncs the disks and 
switches the UPS off. This is necessary, since the power might return 
when the system is in the Press any key to reboot-state. Then it would 
wait for the keypress indefinitely.

NUT can't use shutdown -r now, since the system might start a reboot 
while the UPS still supplies power. NUT can't use shutdown -p now, 
since if the power is restored before the UPS runs dry, the system won't 
boot automatically.

The upsdrvctl shutdown avoids these deadlocks by killing power at the 
UPS. When the AC power returns, the UPS first recharges, then it starts 
supplying power and my BIOS is set up to boot when power returns.

My problem is that the disks aren't clean.

If I put umount -a after the sync, I can't run the upsdrvctl from /usr. 
Should I remount /usr read-only? Or should I move the NUT programs to 
/bin and umount -A. This would leave root dirty.

I have read man pages for mount and umount. Both provide the -f flag, but 
warn against using it. Could I make use of it?

The sync man page tells that halt is better since it does more than 
just a sync. Can I emulate these functions of halt from a script?

What happens after the rc.shutdown? Are there any other housekeeping 
tasks after user scripts? I couldn't find any docs on that.

--
The only number that is both even and odd is infinity.

This is random quote 1025 of a collection of 1253
[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian


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



Re: your unsubscribe request

2002-09-26 Thread Lyris ListManager

As you requested, you have been unsubscribed from 'newadvent'.

---

Return-Path: [EMAIL PROTECTED]
Received: from pooh.ASARian.org ([216.21.171.83]) by caseyjones.dundee.net with SMTP 
(Lyris ListManager WIN32 version 5.0c); Thu, 26 Sep 2002 22:33:40 -0400
Received: from localhost ([EMAIL PROTECTED] [127.0.0.1])
by pooh.ASARian.org (8.11.6/8.11.6) with ESMTP id g8R2TdZ56592
for [EMAIL PROTECTED]; Thu, 26 Sep 2002 22:29:39 
-0400 (EDT)
(envelope-from [EMAIL PROTECTED])
Date: Thu, 26 Sep 2002 22:29:39 -0400 (EDT)
From: Fuzzy [EMAIL PROTECTED]
To: newadvent-request
Message-ID: [EMAIL PROTECTED]
X-No-Archive: Yes
Organization: ASARian Inc.
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
subject:

# Mail sent to leave-newadvent-21666527e was converted to these commands: 
unsubscribe newadvent [EMAIL PROTECTED] confirm
end

# This is the text of the message that triggered the action:

Return-Path: [EMAIL PROTECTED]
Received: from pooh.ASARian.org ([216.21.171.83]) by caseyjones.dundee.net with SMTP 
(Lyris ListManager WIN32 version 5.0c); Thu, 26 Sep 2002 22:33:40 -0400
Received: from localhost ([EMAIL PROTECTED] [127.0.0.1])
by pooh.ASARian.org (8.11.6/8.11.6) with ESMTP id g8R2TdZ56592
for [EMAIL PROTECTED]; Thu, 26 Sep 2002 22:29:39 
-0400 (EDT)
(envelope-from [EMAIL PROTECTED])
Date: Thu, 26 Sep 2002 22:29:39 -0400 (EDT)
From: Fuzzy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
X-No-Archive: Yes
Organization: ASARian Inc.
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



-- 
 _ __ __    __  __
/ ___// // //__  )/__  )\ \/ /
   / __/ / // /   / /__ / /__\  /
  (_/   (/   ///_/

President, ASARian Inc.
Sys Admin, ASARian.org

Admin Contact for the
ASARian.org domain.
[EMAIL PROTECTED]

--

PGP 2.6.3 Key fingerprint = 56 64 1D D9 65 53 B2 20  79 97 EF 45 18 FE 19 4E

finger [EMAIL PROTECTED] for public key.

ASARian Inc. provides free internet access to survivors of sexual abuse.
We are a not-for-profit organization (501(c)3). ASARian.org takes its name
from the Usenet newsgroup alt.sexual.abuse.recovery, (since replaced by
alt.sexual.abuse.recovery.moderated due to spam).




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



Re: chflags schg

2002-09-26 Thread Tony Landells

[EMAIL PROTECTED] said:
 When setting the the sytem/user immutable flag on a file is there
 anyway to tell by looking at the file's perms that it has been set
 immuteable ? Or is there a command to check this ? 

From man ls

 -o  Include the file flags in a long (-l) output.

so ls -lo /kernel* gives:

-r-xr-xr-x  1 root  wheel  schg 1458708 Jul 30 09:01 /kernel
-r-xr-xr-x  1 root  wheel  -3258128 Nov 21  2000 /kernel.GENERIC

/kernel has schg, but kernel.GENERIC has no flags set.

Tony
-- 
Tony Landells   [EMAIL PROTECTED]
Principal Networks, Security  IT Systems Engineer  Ph:  +61 3 9677 9319
Australian Clearing Services Pty LtdFax: +61 3 9677 9355
Level 4, Rialto North Tower
525 Collins Street
Melbourne VIC 3000
Australia



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



  1   2   >