routing tuning ?

2004-12-14 Thread Frank Bonnet
Hi
I've setup a router using FreeBSD 4.10 release
on a PII 350Mhz with 96 MB RAM.
I wonder if there are some tunable parameters I should tweak
( thru sysctl ? ) to tune the link to the ISP which is supposed
to be a 10 Mbits/s link ?

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


Re: refuse

2004-12-14 Thread Joshua Lokken
On 14 Dec 2004 09:36:35 -0500, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Gert Cuykens [EMAIL PROTECTED] writes:
 
  can somebody change the cvsup program so the refuse file can contain
  #comments please ?
 
 Why not just run it through cpp(1) and use the output?
 I used to do that with my sendmail configuration...

Hello Lowell, would you mind elaborating on this?  How would
one 'run it through cpp'?

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


sftp and shell access

2004-12-14 Thread Josh Paetzel
I am looking for a way to give a user an sftp account without giving 
them a shell.  So far I've tried setting their shell 
to /sbin/nologin, but when they try to log in via sftp it gives them 
a message to long error.

Any pointers would be appreciated...I've tried the FAQ, handbook and 
google so far.
-- 
Thanks,

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


Re: sftp and shell access

2004-12-14 Thread Louis LeBlanc
On 12/14/04 10:11 AM, Josh Paetzel sat at the `puter and typed:
 I am looking for a way to give a user an sftp account without giving 
 them a shell.  So far I've tried setting their shell 
 to /sbin/nologin, but when they try to log in via sftp it gives them 
 a message to long error.
 
 Any pointers would be appreciated...I've tried the FAQ, handbook and 
 google so far.

Can you restrict external logins from /etc/login.access?

You can do it by username or group, ie. ftponly.

This should do it:

# Disallow logins to all in the ftponly group
-:ftponly:ALL

This should only affect shell logins, so ftp should still work.

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

Correspondence Corollary:
  An experiment may be considered a success if no more than half
  your data must be discarded to obtain correspondence with your theory.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing hw.snd.pcm0.buffersize in 4.10.

2004-12-14 Thread Sandy Rutherford
 On Mon, 13 Dec 2004 12:03:15 -0600, 
 Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] said:

  I wonder if it wouldn't be:

  set hw.snd.pcm0.bufffersize=N

This doesn't work either.  No error --- it just ignores the setting.

  in accordance with other variables in /boot/loader.help.


  OTOH, there was a note in

  /sys/i386/isa/sound/sound_config.h

 (as of March) that refers to using make config
  to change the DSP_BUFFERSIZE constant during, I assume,
  the kernel build operation.  As I didn't start using
  FreeBSD on the desktop until 5.2 came out, I can't
  say that this is in anyway authoritative, and possibly
  isn't even helpful, though

DSP_BUFFSIZE is not among the options that are setable in the kernel
config file and any attempt to set it gives an error when config is
run.  I'm guessing that the only way to change this is by hacking the
header files in the kernel source.

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


Re: OpenOffice - Java problems

2004-12-14 Thread Tabor Kelly
Dave Horsfall wrote:
I'm trying to compile OpenOffice 1.1 for FreeBSD 4.10 (may as well 
exercise the lap-top).  After grabbing all the Linuxy bits for Java JDK14, 
I now find it wants a Solaris library under /compat/svr4/lib (libc.so.2 or 
similar), and this is found only on a Solaris/86 CD, which of course not 
being a licensee I don't have.
snip
-- Dave
snip
How I got Openoffice 1.1.3 to compile on my laptop:
portinstall java/jdk14
portinstall openoffice
note: 'portinstall java/jdk14' installs the natively compiled FreeBSD 
version of Java, and as a dependency (for the build only) installs the 
linux JDK.

-Tabor Kelly
PS- Yes, this does mean the port is broken.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cpu temperature

2004-12-14 Thread Giuliano Cardozo Medalha
Hi,
I know a tool called lm-sensors ... but I dont know about
ports.
I have found a similar tool:
http://people.freebsd.org/~nsouch/iicbus.html
Maybe you could use it.
Att,
Giuliano
--
Giuliano Cardozo Medalha
Network Engineer
http://wztech,eng.br
PGP Key ID 0x8158E0BD
pgp.mit.edu
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ld-elf.so.1: Shared objectlibintl.so.6 not found

2004-12-14 Thread Toomas Aas
Andrew P. wrote:
I got this at startup:
Dec 11 03:32:42 satbsd /kernel:
  Starting ppp as root
Dec 11 03:32:42 satbsd /kernel:
  /usr/libexec/ld-elf.so.1:
Dec 11 03:32:42 satbsd /kernel:
  Shared object libintl.so.6 not found

The real question you should be asking is why does ppp (a system
binary) depend on libintl (not a system library)?  You've probably
replaced your ppp(8) with something else, with poor consequences. 
Can you tell me how to figure that out? 
It's hard to give a definitive guide here.
First find out which startup script starts ppp at boot time. I can't 
look it up for you because I have FreeBSD 5.3 here where the startup 
scripts are different from 4.10. Has the script been modified. Is it 
still trying to run /usr/sbin/ppp or is it trying to run something else?

Look at the output of 'ls -l /usr/sbin'. Is the timestamp of ppp close 
to other files in that directory (that would be the time when you 
built/installed the world)? If it's not, then ppp has been replaced with 
something else. The timestamp of /usr/sbin/ppp might give you an idea 
when it happened. Try to remember what you were doing around this time.

I don't want to cry wolf, but it might even be some kind of trojan. If 
you're sure it's not a trojan (some accident during portupgrade or 
such), the easiest way to recover would probably be to rebuild and 
reinstall the world. If it's a trojan, the only safe way is to wipe the 
entire system, reinstall and restore the data.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: sftp and shell access

2004-12-14 Thread Haulmark, Chris
Someone broke the silence: 

 I am looking for a way to give a user an sftp account without giving
 them a shell.  So far I've tried setting their shell
 to /sbin/nologin, but when they try to log in via sftp it gives them
 a message to long error. 
 
 Any pointers would be appreciated...I've tried the FAQ, handbook and
 google so far.

I have used scponly and rssh for those purposes.

Both of them are in the ports.

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


Re: Designed for FreeBSD stickers

2004-12-14 Thread Eric Wayte
That's what I get for reading too fast and most likely replying to the
wrong post - so sue me.

Eric

On Wed, 8 Dec 2004, Vonleigh Simmons wrote:

 Date: Wed, 8 Dec 2004 06:15:10 -0800
 From: Vonleigh Simmons [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Designed for FreeBSD stickers

  ScotGold seems reasonably priced, but once you've bought their minimum
  order of 10, you're again paying almost £5.
 
  Is there a gap in the market?
 
  Try ScotGold - http://www.scotgold.com/  They're located in the UK and
  have a variety of BSD merchandise, not just case badges.

   I don't want to pick on the poster, but I've seen this a few times:
 people replying after, what looks like, just reading the first two
 lines of your message.

   If you're going to reply, at least read what the poster is asking.


 Vonleigh Simmons
 http://illusionart.com/

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

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


Re: Strange startup behavior on 5.3-release

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 11:04:24 +0100 (CET), Gelsema, Patrick
[EMAIL PROTECTED] wrote:
  On Mon, 13 December, 2004 23:56, Mike Meyer said:
  I'm running 5.3-release, and seeing *very* strange behavior on
  startup.
 
  If I reboot the system, I get the following errors in
  /var/log/console.log:
 
  Dec 13 17:38:59 guru kernel: Starting sshd.
  Dec 13 17:39:00 guru kernel: sendmail: illegal option -- L
  Dec 13 17:39:00 guru kernel: sendmail: usage: sendmail [ -t ] [
  -fsender ] [ -Fname ] [ -bp ] [
   -bs ] [ arg ... ]
 
  I'm getting those errors because sendmail is set to
  /var/qmail/bin/sendmail in /etc/mail/mailer.conf. Since I'm running
  qmail, sendmail should be run *at all* at startup.
 
  The really strange thing is that if I shutdown and then restart the
  system, without a reboot, I don't see these error messages.
 
  I've traced this down to the sendmail_msp_queue_enable variable in
  /etc/rc.conf. If set to yes, that invokes sendmail with the -L option.
 
  There don't appear to be any currently filed bugs related to this
  issue, and google didn't turn up anything relevant.
 
  I'm running the GENERIC kernel. I've attached my /etc/rc.conf in case
  something there is pertinent.
 
  After you installed qmail (from ports?) were there any instructions on
  how you should modify /etc/rc.conf?
 
  I use Postfix, and after I installed that from the ports tree, it told
  me to add the following entries to rc.conf
 
  dj : ~ cat /etc/rc.conf | grep -i sendmail
  sendmail_enable=YES
  sendmail_flags=-bd
  sendmail_pidfile=/var/spool/postfix/pid/master.pid
  sendmail_outbound_enable=NO
  sendmail_submit_enable=NO
  sendmail_msp_queue_enable=NO
 
  Maybe that's some help?
 
  Cheers,
  David
 
 
 Sometime ago I installed qmail and what I remember is that in /etc/rc.conf
 the following line needs to be added;
 SENDMAIL=NONE #check sendmail documentation for proper line

However, this is deprecated, and it is recommended that you use:

sendmail_enable=NO
sendmail_outbound_enable=NO
sendmail_submit_enable=NO
sendmail_msp_queue_enable=NO

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


Re: cron not running job

2004-12-14 Thread Andy Clements
Andy Clements wrote:
Hello All,
I'm having problems getting my freshly update FreeBSD 5.3 system to 
run my cron jobs.  Logged in as root, I enter the job in root's 
crontab with the following command

crontab -e
I enter the job in the following format:
05  10  *   *   *   /root/cronjobs/cvs-sup.sh
The script has the following permissions:
-rwxr-xr-x  1 root  wheel  255 Dec 13 10:39 cvs-sup.sh
I can run the script as root with no errors.  I look in the 
/var/log/cron log and I don't see any attempt by cron to run the job.  
There is no error either.There are entries for the edit of the 
crontab:

Dec 14 10:03:36 bukowski crontab[632]: (root) BEGIN EDIT (root)
Dec 14 10:03:45 bukowski crontab[632]: (root) REPLACE (root)
Dec 14 10:03:45 bukowski crontab[632]: (root) END EDIT (root)
Dec 14 11:04:00 bukowski /usr/sbin/cron[405]: (root) RELOAD (tabs/root)
But nothing else. So, I'm at a lost.  I have the understanding that 
cron should immediately recognize any changes to the file, but it 
doesn't seem to be working.  I even re-booted in desperation.  Did I 
forget some small tid-bit that needs to change for this to work?  I've 
checked the Handbook, the FAQ, Google and the mailing list, but I 
haven't seen any solutions.

Please CC me with your answer as I am not on the mailing list.
Thanks in advance,
Andy Clements
An update.  It appears that newline or carriage return must be placed at 
the end of the crontab line for the command to run by cron.  thanks to 
anyone who answered anyway!

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


Re: Xorg and mouse....

2004-12-14 Thread Dan Kilbourne
Bomgardner,Jon  extolled:
 
 I'll let you know how things go after tonight  
 
 Thanks for the help,
 Jon.
 

You can also just run 'xev' and try clicking in the window it opens to
see if your buttons are being seen


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


Re: disk I/O slower then linux?

2004-12-14 Thread Alexander Chamandy
It looks like this is a problem unique to 5.3:

See http://lists.freebsd.org/pipermail/freebsd-current/2004-October/041009.html

May I ask how your partitions are laid out?

Are you running with softupdates enabled on your filesystems?




On Tue, 14 Dec 2004 13:03:48 -0500, Rae Kim [EMAIL PROTECTED] wrote:
 I've recently changed to FreeBSD 5.3 from Gentoo linux.
 
 It looks like FreeBSD outperforms gentoo.
 
 I feel 'some' KDE applications runs at least 3 times faster on
 FreeBSD. ( gentoo was even prelinked)
 
 However, Disk IO seems too slow compare to linux.
 
 What makes FreeBSD so fast? Why is disk io slower? How can I make it faster?
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Best wishes,

Alexander G. Chamandy
Webmaster
www.bsdfreak.org
Your Source For BSD News!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: refuse

2004-12-14 Thread Lowell Gilbert
Joshua Lokken [EMAIL PROTECTED] writes:

 On 14 Dec 2004 09:36:35 -0500, Lowell Gilbert
 [EMAIL PROTECTED] wrote:
  Gert Cuykens [EMAIL PROTECTED] writes:
  
   can somebody change the cvsup program so the refuse file can contain
   #comments please ?
  
  Why not just run it through cpp(1) and use the output?
  I used to do that with my sendmail configuration...
 
 Hello Lowell, would you mind elaborating on this?  How would
 one 'run it through cpp'?

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


Re: web-based password checking tool?

2004-12-14 Thread Alexander Chamandy
The solution I've seen people use in the past is Webmin
(http://www.webmin.com/), but I haven't heard great things about its
security.  I would use it cautiously if you are looking for that
functionality.  The problem I'd note is that in order to attain
convenience in the traditional sense, one must generally sacrifice
layers of security.  In this case, allowing a web interface to change
users' authentication credentials provides risks (compromise,
information leakage, etc.) and rewards (enhanced usability for novice
users, added convenience).
- Hide quoted text -


On Tue, 14 Dec 2004 15:41:07 -0300 (ART), Fernando Gleiser
[EMAIL PROTECTED] wrote:
 I have a FreeBSD box with more then 400 accounts. the users are
 non-technical, administrative kind of persons.

 The box is working as a mail server, with sendmail as MTA and cyrus IMAPd,
 authenticating against the system files (/etc/master.passwd) not using
 SASL.

 I need a web based tool to let the users change their passwords, since
 they don't have shell access, a web-based solution seems like the
 only way to let them do it without bothering the admins.


-- 
Best wishes,

Alexander G. Chamandy
Webmaster
www.bsdfreak.org
Your Source For BSD News!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: web-based password checking tool?

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 15:41:07 -0300 (ART), Fernando Gleiser
[EMAIL PROTECTED] wrote:
 I have a FreeBSD box with more then 400 accounts. the users are
 non-technical, administrative kind of persons.
 
 The box is working as a mail server, with sendmail as MTA and cyrus IMAPd,
 authenticating against the system files (/etc/master.passwd) not using
 SASL.
 
 I need a web based tool to let the users change their passwords, since
 they don't have shell access, a web-based solution seems like the
 only way to let them do it without bothering the admins.

Usermin should do what you're wanting.  It's similar to Webmin, which
another poster recommended, but is meant for end-users rather than
admins.

/usr/ports/sysutils/usermin  

HTH,

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


Re: web-based password checking tool?

2004-12-14 Thread Alexander Chamandy
In that case, check out something like:
http://rucus.ru.ac.za/~bvi/utils/webpass/

Web Pass is a CGI script which allows users on a system to change
their passwords via the web. This is useful for users with no shell
access to the machine, but who still have 'real' accounts for things
such as web space, ftp Samba and the like.

I hope this helps!

On Tue, 14 Dec 2004 16:02:46 -0300 (ART), Fernando Gleiser
[EMAIL PROTECTED] wrote:
 On Tue, 14 Dec 2004, Alexander Chamandy wrote:
 
  The solution I've seen people use in the past is Webmin
  (http://www.webmin.com/), but I haven't heard great things about its
  security.  I would use it cautiously if you are looking for that
  functionality.
 
 Webmin is a different thing. it allows for web-based administration,
 it isn't useful as a tool for users to change their passwords.
 In order to use webmin for that, I'd have to add a webmin user for
 every mail user and restrict the module set. It is just not worth it.
 
 I'm looking for something like some ISPs do: a form where you enter
 your username, your old password and your new one (twice, for confirmation).
 
 I think I can hack a quick CGI script which does that, then checks the
 parameters, and if everything is OK, hashes the new passwd and calls
 something like
 echo ecnryptedpass | sudo pw usermod user -H 1
 
 or something like that. But I prefer to use already made and tested
 solutions.
 
 
  The problem I'd note is that in order to attain
  convenience in the traditional sense, one must generally sacrifice
  layers of security.  In this case, allowing a web interface to change
  users' authentication credentials provides risks (compromise,
  information leakage, etc.) and rewards (enhanced usability for novice
  users, added convenience).
 
 Exactly. But I think in this case is justified. We're talking about
 people who are not technical. It's the only way.
 
 Fer
 


-- 
Best wishes,

Alexander G. Chamandy
Webmaster
www.bsdfreak.org
Your Source For BSD News!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron not running job

2004-12-14 Thread Kirk Strauser
On Tuesday 14 December 2004 12:20, Andy Clements wrote:

 Did I forget some small tid-bit that needs to change for this to work?

Cron requires a newline at the end of the file.  I'll bet that your crontab 
ends with cvs-sup.sh and not cvs-sup.shNEWLINE.
-- 
Kirk Strauser


pgpBCUQtL0uV4.pgp
Description: PGP signature


Re: freebsd-questions Digest, Vol 83, Issue 4

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 10:44:28 +0800, microkernel [EMAIL PROTECTED] wrote:
  Message: 1
  Date: Mon, 13 Dec 2004 14:23:07 -0500
  From: Robert Fitzpatrick [EMAIL PROTECTED]
  Subject: Re: Cleaning port config options
  To: Miguel Mendez [EMAIL PROTECTED]
  Cc: FreeBSD [EMAIL PROTECTED]
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain
 
  On Mon, 2004-12-13 at 11:00, Miguel Mendez wrote:
I was installing the mail/dspam port and the selection of options
appeared for configuration, then after selecting, the configuration
stopped with an error that I had selected too many back-end options. I
did 'make distclean' and 'make clean', but the options list will not
appear again for me to alter the configuration options. How do I do
this?

# rm /var/db/ports/portname/options

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


Re: ld-elf.so.1: Shared objectlibintl.so.6 not found

2004-12-14 Thread Andrew P.
Toomas Aas wrote:
Andrew P. wrote:
I got this at startup:
Dec 11 03:32:42 satbsd /kernel:
  Starting ppp as root
Dec 11 03:32:42 satbsd /kernel:
  /usr/libexec/ld-elf.so.1:
Dec 11 03:32:42 satbsd /kernel:
  Shared object libintl.so.6 not found

The real question you should be asking is why does ppp (a system
binary) depend on libintl (not a system library)?  You've probably
replaced your ppp(8) with something else, with poor consequences. 

Can you tell me how to figure that out? 

It's hard to give a definitive guide here.
First find out which startup script starts ppp at boot time. I can't 
look it up for you because I have FreeBSD 5.3 here where the startup 
scripts are different from 4.10. Has the script been modified. Is it 
still trying to run /usr/sbin/ppp or is it trying to run something else?
/etc/rc.network starts ppp with the following line:
/usr/sbin/ppp -quiet -ddial default
I am pretty sure both rc and rc.network are the original ones
Look at the output of 'ls -l /usr/sbin'. Is the timestamp of ppp close 
to other files in that directory (that would be the time when you 
built/installed the world)? If it's not, then ppp has been replaced with 
something else. The timestamp of /usr/sbin/ppp might give you an idea 
when it happened. Try to remember what you were doing around this time.
On a system which was never rebuilt since 4.10 install it's like this:
-r-xr-xr-x  1 root  wheel  3712 May 26 01:28:37 2004 pmap_set
-r-xr-xr-x  1 root  wheel  9868 May 26 01:28:37 2004 pnpinfo
-r-xr-xr-x  1 root  wheel 11916 May 26 01:28:37 2004 portmap
-r-sr-xr--  1 root  network  336204 May 26 01:28:37 2004 ppp
-r-xr-xr-x  1 root  wheel 10088 May 26 01:28:37 2004 pppctl
-r-sr-x---  1 root  dialer95376 May 26 01:28:37 2004 pppd
-r-xr-xr-x  1 root  wheel  9228 May 26 01:28:38 2004 pppstats
On a freshly rebuilt system it's this:
-r-xr-xr-x  1 root  wheel  3744 Dec 10 13:32:36 2004 pmap_set
-r-xr-xr-x  1 root  wheel  9868 Dec 10 13:32:36 2004 pnpinfo
-r-xr-xr-x  1 root  wheel 12044 Dec 10 13:32:36 2004 portmap
-r-sr-xr--  1 root  network  340876 Dec 10 13:32:36 2004 ppp
-r-xr-xr-x  1 root  wheel 10152 Dec 10 13:32:37 2004 pppctl
-r-sr-x---  1 root  dialer96656 Dec 10 13:32:37 2004 pppd
-r-xr-xr-x  1 root  wheel  9260 Dec 10 13:32:37 2004 pppstats
I don't want to cry wolf, but it might even be some kind of trojan. If 
you're sure it's not a trojan (some accident during portupgrade or 
such), the easiest way to recover would probably be to rebuild and 
reinstall the world. If it's a trojan, the only safe way is to wipe the 
entire system, reinstall and restore the data.
I'm pretty sure it could not be a trojan. I've tried to rebuild and 
reinstall the world and the kernel, following the current version of 
handbook. I know that if I reinstall FreeBSD, it'll probably solve the 
problem. But it's the M$ way, and the thing I love UNIX for is that I 
have a chance to know precisely why a system sneezes when it sneezes.

So I would be glad and grateful if you could give me an advice like 
read this book on gdb, and the developer's handbook, parse these 10Mb 
of logs manually, rebuild 21 times with these and these make.conf's, 
backtrace everything you see - and I'd do everything is possible, if 
only it could lead to a success.

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


RE: Xorg and mouse....

2004-12-14 Thread Bomgardner,Jon

 -Original Message-
 From: Dan Kilbourne [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 14, 2004 12:22 PM
 To: Bomgardner,Jon
 Cc: [EMAIL PROTECTED]
 Subject: Re: Xorg and mouse
 
 Bomgardner,Jon  extolled:
 
  I'll let you know how things go after tonight
 
  Thanks for the help,
  Jon.
 
 
 You can also just run 'xev' and try clicking in the window it opens to
 see if your buttons are being seen
 


I tried typing in 'xev' but got the error:

xev: unable to open display 

I tried the man page on xev and did find the -display option but I don't
know what to put after that as the parameter. It doesn't give any
examples.


When I run xdm from the  prompt I get:

Shared object libutil.so.3 not fund, required by xdm

I assume this means I'm missing a file. After tracking some stuff down I
found it should be in /usr/lib but it's not there. Any idea where I can
get it?

Thanks,
Jon

==
This communication, together with any attachments hereto or links contained 
herein, is for the sole use of the intended recipient(s) and may contain 
information that is confidential or legally protected. If you are not the 
intended recipient, you are hereby notified that any review, disclosure, 
copying, dissemination, distribution or use of this communication is STRICTLY 
PROHIBITED.  If you have received this communication in error, please notify 
the sender immediately by return e-mail message and delete the original and all 
copies of the communication, along with any attachments hereto or links herein, 
from your system.

==
The St. Paul Travelers e-mail system made this annotation on 12/14/2004, 
02:59:47 PM.

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


Re: Xorg and mouse....

2004-12-14 Thread Dan Kilbourne
Bomgardner,Jon  extolled:
 Hello All! 
 
 Well, I was finally able to get Xorg up and running at full screen
 however, I seem to have this peculiar problem. While I can move my mouse
 around in the window, I cannot use any of the mouse buttons. Now, I have
 not set up a Window Manager yet (will be setting up KDE as soon as I can
 get things straightened out) but I thought I'd at least get a
 right-click context menu in Xorg.  Would this be correct? And if so, how
 would I go about troubleshooting this?  I have no way to remotely
 connect to the computer so any suggestions involving that probably won't
 help.
 
 Anyway, after the success I've had with answers from the group so far, I
 expect it won't take long to lick this problem as well...
 
 Thanks in advance for the help,
 Jon Bomgardner
 


Try running a window manager that is already installed - you should have
twm. Just add it to your .xsession or .xinitrc file, and that will give
you a right-click menu

I am sure there are other ways to make sure the mouse works though.


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


RE: Xorg and mouse....

2004-12-14 Thread Bomgardner,Jon

 -Original Message-
 From: Louis LeBlanc [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 14, 2004 2:17 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Xorg and mouse
 
 On 12/14/04 01:59 PM, Bomgardner,Jon  sat at the `puter and typed:
  SNIP
 
  I tried typing in 'xev' but got the error:
 
  xev: unable to open display 
 
  I tried the man page on xev and did find the -display option but I
don't
  know what to put after that as the parameter. It doesn't give any
  examples.
 
 Probably something like -display :0.0
 although you'll want to call:
 xhost local:
 
 before doing so.  This assumes you're on the latest xorg of course.


Tried this but got the same error running xhost: unable to open display


 
  When I run xdm from the  prompt I get:
 
  Shared object libutil.so.3 not fund, required by xdm
 
  I assume this means I'm missing a file. After tracking some stuff
down I
  found it should be in /usr/lib but it's not there. Any idea where I
can
  get it?
 
 That indicates a whole other problem.  You must have linked to an
 older version of libutil when you built xorg.  I have
 /lib/libutil.so.4, not 3.
 
 BTW, what version of Xorg *are* you running?  What version of FreeBSD?
 I must have missed it in your previous messages.
 

I'm currently running FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC
2004
GENERIC kernel

Xorg's header when starting says:

Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
..cut OS info..
Build Date: 16 October 2004

Could the error mentioned have happened because I manually installed
XFree86 4.4 (based on X11 6.6) in trying to get *something* to work on
this system?  Could this also be causing some of the other problems I've
been having?  If so, how do I remove XFree?

Thanks,
Jon

==
This communication, together with any attachments hereto or links contained 
herein, is for the sole use of the intended recipient(s) and may contain 
information that is confidential or legally protected. If you are not the 
intended recipient, you are hereby notified that any review, disclosure, 
copying, dissemination, distribution or use of this communication is STRICTLY 
PROHIBITED.  If you have received this communication in error, please notify 
the sender immediately by return e-mail message and delete the original and all 
copies of the communication, along with any attachments hereto or links herein, 
from your system.

==
The St. Paul Travelers e-mail system made this annotation on 12/14/2004, 
03:32:53 PM.


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


Re: ld-elf.so.1: Shared objectlibintl.so.6 not found

2004-12-14 Thread Kris Kennaway
On Tue, Dec 14, 2004 at 09:08:50PM +0300, Andrew P. wrote:

 The real question you should be asking is why does ppp (a system
 binary) depend on libintl (not a system library)?  You've probably
 replaced your ppp(8) with something else, with poor consequences. 
 
 Can you tell me how to figure that out?

What does the following command show you?

ldd /usr/sbin/ppp

Kris


pgpcosUtCKwS5.pgp
Description: PGP signature


Re: refuse

2004-12-14 Thread Joshua Lokken
On 14 Dec 2004 13:26:03 -0500, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Joshua Lokken [EMAIL PROTECTED] writes:
 
  On 14 Dec 2004 09:36:35 -0500, Lowell Gilbert
   Why not just run it through cpp(1) and use the output?
   I used to do that with my sendmail configuration...
 
  Hello Lowell, would you mind elaborating on this?  How would
  one 'run it through cpp'?
 
 cpp -P  input_file  output_file

Thank you, Lowell. 


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


Re: Having trouble locating driver for the embedded ethernet controller on Epox 8RD+ Pro with Nforce2 Ultra Chipset

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 13:23:00 +0200, Bozhidar Batsov
[EMAIL PROTECTED] wrote:
 Can you help me with a solution for my problem? I'm pretty sure there
 are no native drivers for that ethernet adapter and I should use the
 windows compatibility layer. But I cannot find the ethernet driver
 distributed stand-alone apart from the entire nforce 2 driver package .
 Any suggestions?

Install the entire nforce 2 driver package.


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


Re: running scripts on FreeBSD 5.3

2004-12-14 Thread Alistair Bryan
Hi there,
The site I downloaded the driver from mainly does drivers for Linux but 
they had a development version for BSD which I downloaded.  The URL is 
http://eciadsl.flashtux.org/download.php?lang=en (BSD stuff athe the 
bottom of the page).

dmesg didn't mention the modem which is a Dlink DSL-200 USB ADSL modem 
which as usual only has drivers for Windows.

This seems to be the only way to get connected with this device.
Regards
Al
Chuck Swiger wrote:
Alistair Bryan wrote:
I downloaded and a driver for my adsl modem and, following the
instructions which came with the software, compiled the program.
In order to run it I tried to run one of the supplied scripts and got
the following error:
bash-2.05b# ./eci-doctor.sh
[: unexpected operator
You are using linux kernel version 5.3-RELEASE

It looks like you've obtained a Linux driver.  FreeBSD isn't Linux, it's 
BSD.

You might take a look at dmesg and see whether FreeBSD already 
recognizes it, otherwise, it would help if you provided more detail 
about what your ADSL modem is and how it's connected (ie, ethernet, USB, 
serial port?)...

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


Komodo install fails...

2004-12-14 Thread Kiffin Gish
I tried to install Komodo on my FreeBSD system and get the following 
error message.

=
Creating XPCOM registry...
nsNativeComponentLoader: SelfRegisterDll(libgfx_gtk.so) Load FAILED with 
error: libgtk-1.2.so.0: cannot open shared object file: No such file or 
directory
nsNativeComponentLoader: SelfRegisterDll(libgkplugin.so) Load FAILED 
with error: libgtk-1.2.so.0: cannot open shared object file: No such 
file or directory
nsNativeComponentLoader: SelfRegisterDll(libwidget_gtk.so) Load FAILED 
with error: libgtk-1.2.so.0: cannot open shared object file: No such 
file or directory
*** Registering CommandLine JS components
*** Registering JS Dialog Proxy ComponentnsNativeComponentLoader: 
SelfRegisterDll(libgfx_gtk.so) Load FAILED with error: libgtk-1.2.so.0: 
cannot open shared object file: No such file or directory
nsNativeComponentLoader: SelfRegisterDll(libgkplugin.so) Load FAILED 
with error: libgtk-1.2.so.0: cannot open shared object file: No such 
file or directory
nsNativeComponentLoader: SelfRegisterDll(libwidget_gtk.so) Load FAILED 
with error: libgtk-1.2.so.0: cannot open shared object file: No such 
file or directory
=

Any ideas what could be going wrong?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg and mouse....

2004-12-14 Thread Louis LeBlanc
On 12/14/04 01:59 PM, Bomgardner,Jon  sat at the `puter and typed:
 SNIP
 
 I tried typing in 'xev' but got the error:
 
 xev: unable to open display 
 
 I tried the man page on xev and did find the -display option but I don't
 know what to put after that as the parameter. It doesn't give any
 examples.

Probably something like -display :0.0
although you'll want to call:
xhost local:

before doing so.  This assumes you're on the latest xorg of course.

 When I run xdm from the  prompt I get:
 
 Shared object libutil.so.3 not fund, required by xdm
 
 I assume this means I'm missing a file. After tracking some stuff down I
 found it should be in /usr/lib but it's not there. Any idea where I can
 get it?

That indicates a whole other problem.  You must have linked to an
older version of libutil when you built xorg.  I have
/lib/libutil.so.4, not 3.  

BTW, what version of Xorg *are* you running?  What version of FreeBSD?
I must have missed it in your previous messages.

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

Jenning's Corollary:
  The chance of the bread falling with the buttered side
  down is directly proportional to the cost of the carpet.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.3: panic page fault with nge driver

2004-12-14 Thread sp0ng3b0b
I am getting a page fault with a new install of FreeBSD 5.3 Release. 
Something changed with the nge driver in FreeBSD 5.3. I did not have 
this problem with 5.2.1. I just performed a clean install on a box that 
had been running 5.2.1 RELEASE for a few months.

The box is an Instrusion Detection System. I have fiber taps in place on 
the network and use the rx ports of the nic to monitor the traffic.

In 5.2.1, i would do this to bond ports and monitor them:
# ifconfig nge0 media 1000baseSX mediaopt full-duplex promisc -arp up
# ifconfig nge1 media 1000baseSX mediaopt full-duplex promisc -arp up
# ngctl mkpeer fec dummy fec
# ngctl msg fec0: add_iface 'nge0'
# ngctl msg fec0: add_iface 'nge1'
# ngctl msg fec0: set_mode_inet
# ifconfig fec0 promisc -arp up
However, when i set the media options for nge0, the machine panics and 
dies. The panic message is hand typed below.

FreeBSD 5.3 RELEASE.
Intel Pentium 4 3.06GHz CPU
1GB RAM
80GB Maxtor HD
(1x) Intel 82801DB (ICH4) Pro/100 Ethernet
(6x) NetGear GA621 fiber 1GB NIC
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x8
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc055a002
stack pointer   = 0x10:0xe32a2c9c
frame pointer   = 0x10:0xe32a2cac
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def 2 1, gran 1
processor eflags= interrupt enabled, resuep, IOPL = 0
current process = 27 (irq17: nge0)
trap number = 12
panic: page fault
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't compile kernel...

2004-12-14 Thread Mike Meyer
Ok, I'm an old hand at building BSD kernels. Been doing it since BSD
4.2, and FreeBSD 3.0. But the code for 5-STABLE fails to compile for
me. I've tried 5.3 from the CD-ROM, RELENG_5_3_0, RELENG_5_3, and
RELENG_5. They all fail to build with this error:

cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../.. 
-I../../../contrib/dev/acpica -I../../../contrib/altq 
-I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath 
-I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Werror  ../../../dev/fb/vga.c
../../../dev/fb/vga.c:1346: warning: 'filll_io' defined but not used
../../../dev/fb/vga.c:1336: warning: 'fill' defined but not used

I've included [EMAIL PROTECTED] in the mail, as he was the last person to
touch this file on those branches.

I'll attach the kernel config file as that's almost certainly relevant.

Any help in getting this kernel to build would be greatly appreciated.

Thanx,
mike



GURU
Description: config file

-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PXE multiboot FreeBSD and other OSes?

2004-12-14 Thread Kimmo Mustonen
Hello!
My goal is to be able to multiboot FreeBSD, Linux and some other OSes and 
different versions using PXE. I don't want to install boot loaders on hard 
disks because I want to boot several different machines to different OSes 
every now and then. I don't like the idea of using a boot floppy or boot 
CD either.

I have Intel e100. Booting several versions of Linux works well using 
pxegrub. Booting FreeBSD works as well, when using pxeboot. However, I can 
only boot one version of FreeBSD and it has to be specified in dhcpd.conf 
(root path). I have no way of booting other OSes that way. I cannot boot 
pxegrub from preboot or vice versa.

Pxegrub is able to load FreeBSD loader. However, it cannot find the drive 
where the system booted from (it is pxe) and thus does not work. Using 
lsdev command in the loader displays empty pxe devices: selection. Is 
there a way to enable this? Should something be done to pxegrub or loader? 
Is it possible to get loader to work after having been loaded by pxegrub?

Pxegrub is also able to load FreeBSD kernel directly. Well, almost. It 
loads and starts it (the cursor becomes a block, the SCSI bus seems to be 
reset and everything, but the system reboots after 15 seconds without 
displaying anything on screen. I haven't yet checked the serial port, it 
might display something. Why is the video console not working this way? Is 
there a way to pass any parameters to FreeBSD kernel from pxegrub, like 
the root path? Pxegrub claims to conform to the Multiboot Specification, 
would it be sensible (and easy?) to make FreeBSD loader and/or kernel 
Multiboot compliant as well?

Any other suggestions?
Regards,
Kimmo Mustonen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


create bootable drive

2004-12-14 Thread Noah
FreeBSD-4.9

Can somebody please tell me what the command(s) is/are to make a drive bootable?

cheers,

Noah

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


Re: Can't compile kernel...

2004-12-14 Thread Nigel Wohlers
Mike Meyer wrote:
Ok, I'm an old hand at building BSD kernels. Been doing it since BSD
4.2, and FreeBSD 3.0. But the code for 5-STABLE fails to compile for
me. I've tried 5.3 from the CD-ROM, RELENG_5_3_0, RELENG_5_3, and
RELENG_5. They all fail to build with this error:
cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../.. 
-I../../../contrib/dev/acpica -I../../../contrib/altq 
-I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath 
-I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Werror  ../../../dev/fb/vga.c
../../../dev/fb/vga.c:1346: warning: 'filll_io' defined but not used
../../../dev/fb/vga.c:1336: warning: 'fill' defined but not used
I've included [EMAIL PROTECTED] in the mail, as he was the last person to
touch this file on those branches.
I'll attach the kernel config file as that's almost certainly relevant.
Any help in getting this kernel to build would be greatly appreciated.
Thanx,
mike




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi Mike,
You could try compiling without these:
options VGA_NO_FONT_LOADING
options VGA_NO_MODE_CHANGE
options SC_NO_FONT_LOADING
I recall a similar build error I encountered with these options.
Regards,
Nigel.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


web-based password checking tool?

2004-12-14 Thread Fernando Gleiser
I have a FreeBSD box with more then 400 accounts. the users are
non-technical, administrative kind of persons.

The box is working as a mail server, with sendmail as MTA and cyrus IMAPd,
authenticating against the system files (/etc/master.passwd) not using
SASL.

I need a web based tool to let the users change their passwords, since
they don't have shell access, a web-based solution seems like the
only way to let them do it without bothering the admins.

Thanks in advance.


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


Digikam customize names not working?

2004-12-14 Thread Maarten
Hello,

Ik have digikam working on my 5.3 box with my brand new Canon Digital IXUS
40. For some reason when downloadin images the option customize names
with Add camera provided date and time does not work. For some reason
all files are called: 19700101-00:00:00-0001.jpg,
19700101-00:00:00-0002.jpg, etc.

Is this a feature that comes with camera? When I right click properties on
a preview the date and time are as above, but when I look at the EXIF
properties after downloading the dates and times of the images are the
actual dates and times when I pressed the button.

Anyone an idea?

Maarten

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


Re: Changing hw.snd.pcm0.buffersize in 4.10.

2004-12-14 Thread Nikolas Britton
Sandy Rutherford wrote:
On Mon, 13 Dec 2004 12:03:15 -0600, 
Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] said:
   

 I wonder if it wouldn't be:
 set hw.snd.pcm0.bufffersize=N
This doesn't work either.  No error --- it just ignores the setting.
 in accordance with other variables in /boot/loader.help.
 OTOH, there was a note in
 /sys/i386/isa/sound/sound_config.h
(as of March) that refers to using make config
 to change the DSP_BUFFERSIZE constant during, I assume,
 the kernel build operation.  As I didn't start using
 FreeBSD on the desktop until 5.2 came out, I can't
 say that this is in anyway authoritative, and possibly
 isn't even helpful, though
DSP_BUFFSIZE is not among the options that are setable in the kernel
config file and any attempt to set it gives an error when config is
run.  I'm guessing that the only way to change this is by hacking the
header files in the kernel source.
Thanks,
Sandy
 

Yea, I got my old laptop out that has 4.10 on it and I was rooting 
around in the src and found that, I tried everywitch way to get it to 
work in the kernel file but It nerver did work (config always bitched at 
me), I tried it also like this make DSP_BUFFERSIZE=16384 depend  make 
DSP_BUFFERSIZE=16384  make DSP_BUFFERSIZE=16384 install. this did not 
pruduce any errors but it didn't do anything ether, it skipped over the 
sound stuff as if there was no change, also I tried hard coding it it in 
sound_config.h but again same effect (maybe I did it wrong, i'm not a 
programmer), maybe you have to do a complete rebuild of the kernel and 
I did not try that because this laptop is only a P100 with 40MB Ram. 
also I found refrences to bufsz from /dev/sndstat so I tried adding it 
to the kernel config file like this device sbc0 at isa? port 0x220 irq 
10 drq 1 bufsz 16384 and config didn't like that (I never tried it with 
device pcm tho?)

stumbleine# more /dev/sndstat
FreeBSD Audio Driver (newpcm)
pcm0: ESS 0 DSP at io 0x220 irq 10 drq 1 bufsz 4096 (1p/1r/0v channels 
duplex)

also reading the man pages for loader.conf , loader.4th, loader, and 
reading LINT help a bit., also there is a device.hints under /boot 
that loader reads so I tried adding it there as 
hint.pcm.0.buffersize=16384 but this did not work, it did tho add it 
as a loader environment variable (used show at the loader prompt). I 
also tried setting at the loader prompt hw.snd.pcm0.buffersize=16384 and 
again no deal, also helpful was setting verbose_loading=YES into 
loader.conf. in all here is everything I tried with loader.conf:

set hw.snd.pcm0.buffersize=3D16384
sh sysctl hw.snd.pcm0.buffersize=16384
sysctl hw.snd.pcm0.buffersize=16384
set hw.snd.pcm0.buffersize=8192
set hw.snd.pcm0.buffersize=8192
set hw.snd.pcm.0.buffersize=8192
set hw.snd.pcm.0.buffersize=8192
hw.snd.pcm0.buffersize=8192
hw.snd.pcm0.buffersize=8192
hint.pcm.0.buffersize=8192
Id like to get some input from a kernel hack or guru, and maybe you 
should cross post this in the freebsd-multimedia, freebsd-hackers, 
and/or freebsd-hardware mailling lists and I can not find anything 
relevant in my google / google groups searches about this problem, at 
this point I think it would just be easyer to upgrade to 5.3 (your comp 
will handle it, I have it running on a dual PII 366 system) to set the 
stupid thing. this might help (but its for linux): 
http://www.geocities.com/Hollywood/3709/kernelhack.html

and this looks interesting: http://www.freebsd.org/cgi/query-pr.cgi?pr=5359
also the only stuff I can find about DSP_BUFFSIZE, buffer stuff is from 
Matthew Dillon (dillon at backplane.com), maybe you should give him a buzz
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


php4 install has conflicts

2004-12-14 Thread Noah
FreeBSD-4.9



what is the cleanest way to get PHP4 installed here?  There are a lot of
programs that have dependancies on mod_php4.  how do I update all those
dependancies to the latest version of mod_php4?  and then how do I cleanly
remove all those older versions of mod_php4?


--- snip ---

# make install clean
===  Installing for php4-4.3.9_1

===  php4-4.3.9_1 conflicts with installed package(s): 
  mod_php4-4.3.5_7,1
  mod_php4-4.3.6_1,1
  mod_php4-4.3.8_2,1
  mod_php4-4.3.9_1,1

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/php4.

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


Re: php4 install has conflicts

2004-12-14 Thread Derrick Ryalls
 what is the cleanest way to get PHP4 installed here?  There are a lot of
 programs that have dependancies on mod_php4.  how do I update all those
 dependancies to the latest version of mod_php4?  and then how do I cleanly
 remove all those older versions of mod_php4?
 
 --- snip ---
 
 # make install clean
 ===  Installing for php4-4.3.9_1
 
 ===  php4-4.3.9_1 conflicts with installed package(s):
  mod_php4-4.3.5_7,1
  mod_php4-4.3.6_1,1
  mod_php4-4.3.8_2,1
  mod_php4-4.3.9_1,1
 
  They install files into the same place.
  Please remove them first with pkg_delete(1).
 *** Error code 1
 
 Stop in /usr/ports/lang/php4.
 

I recommend trying portupgrade (with the -N flag I believe)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PXE multiboot FreeBSD and other OSes?

2004-12-14 Thread Erik Norgaard
Kimmo Mustonen wrote:
My goal is to be able to multiboot FreeBSD, Linux and some other OSes 
and different versions using PXE. I don't want to install boot loaders 
on hard disks because I want to boot several different machines to 
different OSes every now and then. I don't like the idea of using a boot 
floppy or boot CD either.

Any other suggestions?
I don't understand your question completly:
a. Do you want to boot different machines differently from the same
  server?
b. Do you want to boot the same machine but different versions of
  FreeBSD?
c. Do you want to create a diskless multiboot machine?
or..?
a: For each host you can specify different pxeboot loader and different
  root-path in the dhcpd.conf.
b: Booting the pxeboot-loader it will run the loader.rc scripts, you can
  set this up to offer different boot menu. If you use TFTP to fetch
  these, this can set different nfs root paths
c: This I don't know.
cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4 install has conflicts

2004-12-14 Thread Ian Moore
On Wed, 15 Dec 2004 09:30, Noah wrote:
 On Tue, 14 Dec 2004 14:52:53 -0800, Derrick Ryalls wrote

   what is the cleanest way to get PHP4 installed here?  There are a lot
   of programs that have dependancies on mod_php4.  how do I update all
   those dependancies to the latest version of mod_php4?  and then how do
   I cleanly remove all those older versions of mod_php4?
  
   --- snip ---
  
   # make install clean
   ===  Installing for php4-4.3.9_1
  
   ===  php4-4.3.9_1 conflicts with installed package(s):
mod_php4-4.3.5_7,1
mod_php4-4.3.6_1,1
mod_php4-4.3.8_2,1
mod_php4-4.3.9_1,1
  
They install files into the same place.
Please remove them first with pkg_delete(1).
   *** Error code 1
  
   Stop in /usr/ports/lang/php4.
 
  I recommend trying portupgrade (with the -N flag I believe)

 I think I am following you correctly here?

 --- snip ---

 # portupgrade -N mod_php4-4.3.9_1,1
 # make install clean
 ===  Installing for php4-4.3.9_1

 ===  php4-4.3.9_1 conflicts with installed package(s):
   mod_php4-4.3.5_7,1
   mod_php4-4.3.6_1,1
   mod_php4-4.3.8_2,1
   mod_php4-4.3.9_1,1

   They install files into the same place.
   Please remove them first with pkg_delete(1).
 *** Error code 1

 Stop in /usr/ports/lang/php4.

 --- snip ---
Try portupgrade -rR php4\*
The -N flag is for installing new packages, not upgrading existing ones. -rR 
should resolve all dependencies above  below php4. That should also remove 
all the old versions .

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp1bb28uwjVn.pgp
Description: PGP signature


Re: php4 install has conflicts

2004-12-14 Thread Ian Moore
On Wed, 15 Dec 2004 09:55, you wrote:
 On Wed, 15 Dec 2004 09:30, Noah wrote:
  On Tue, 14 Dec 2004 14:52:53 -0800, Derrick Ryalls wrote
 
what is the cleanest way to get PHP4 installed here?  There are a lot
of programs that have dependancies on mod_php4.  how do I update all
those dependancies to the latest version of mod_php4?  and then how
do I cleanly remove all those older versions of mod_php4?
   
--- snip ---
   
# make install clean
===  Installing for php4-4.3.9_1
   
===  php4-4.3.9_1 conflicts with installed package(s):
 mod_php4-4.3.5_7,1
 mod_php4-4.3.6_1,1
 mod_php4-4.3.8_2,1
 mod_php4-4.3.9_1,1
   
 They install files into the same place.
 Please remove them first with pkg_delete(1).
*** Error code 1
   
Stop in /usr/ports/lang/php4.
  
   I recommend trying portupgrade (with the -N flag I believe)
 
  I think I am following you correctly here?
 
  --- snip ---
 
  # portupgrade -N mod_php4-4.3.9_1,1
  # make install clean
  ===  Installing for php4-4.3.9_1
 
  ===  php4-4.3.9_1 conflicts with installed package(s):
mod_php4-4.3.5_7,1
mod_php4-4.3.6_1,1
mod_php4-4.3.8_2,1
mod_php4-4.3.9_1,1
 
They install files into the same place.
Please remove them first with pkg_delete(1).
  *** Error code 1
 
  Stop in /usr/ports/lang/php4.
 
  --- snip ---

 Try portupgrade -rR php4\*
 The -N flag is for installing new packages, not upgrading existing ones.
 -rR should resolve all dependencies above  below php4. That should also
 remove all the old versions .

Oops,
I shouldn't answer things before I've woken up properly!
I missed the fact you had mod_php installed rather than php.
I believe you need to pkg_delete mod_php and then install php, since the 
Makefile for mod_php says:
CONFLICTS=  php4-4* php4-cli-4* php4-cgi-4*

Cheers,

-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpiQLWBuGW3z.pgp
Description: PGP signature


Re: 5.3-RELEASE-i386-disc2.iso

2004-12-14 Thread Rowdy
Jerry Hoover wrote:
I downloaded all 4 iso's and I have used Nero 5.5.9.9 to burn them to CD
EXCEPT 5.3-RELEASE-i386-disc2.iso  The checksums all worked out.
5.3-RELEASE-i386-disc2.iso continues to lock up Nero, the others didn't.
Any ideas?  BTW:  I have downloaded that 1 file twice from 2 differant sites,
Same results.  Just that 1 fileHELP!
 
And what is the differance between  bootonly.iso and miniinst.iso?
 
I have never had FreeBSD/Unix/Linux before, I am just trying to learn.
 
Thanks.  Jerry Hoover
IIRC when I burnt dics2 it did appear to lock Nero for about 15-20 
minutes while it built the table of contents or similar.

dics2 contains a live filesystem including the ports tree, there are 
10's of thousands of files.

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


Re: cannot mount cdrom - not a newbie problem

2004-12-14 Thread Giorgos Keramidas
On 2004-12-15 09:43, Timothy Smith [EMAIL PROTECTED] wrote:
 titan# mount -t cd9660 /dev/cd0a /mount
 cd9660: /dev/cd0a: Invalid argument

Try without *any* partition name:

titan# mount -t cd9660 /dev/cd0 /mount

Since /mount is a non-standard name, you _did_ check that /mount exists
as a directory right?

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


Re: 5.3-RELEASE-i386-disc2.iso

2004-12-14 Thread Tabor Kelly
Jerry Hoover wrote:
I downloaded all 4 iso's and I have used Nero 5.5.9.9 to burn them to CD
EXCEPT 5.3-RELEASE-i386-disc2.iso  The checksums all worked out.
5.3-RELEASE-i386-disc2.iso continues to lock up Nero, the others didn't.
Any ideas?  BTW:  I have downloaded that 1 file twice from 2 differant sites,
Same results.  Just that 1 fileHELP!
Sounds unrelated to the image itself.
And what is the differance between bootonly.iso and miniinst.iso?
miniinst.iso is everything in the base system without any packages 
(except Perl), but with the ports tree. I am not sure what bootonly.iso 
lacks that miniinst.iso has (almost certainly the ports tree).

snip
If you have broadband, I suggest using the miniinst.iso and either 
installing packages via FTP with /stand/sysinstall or building 
everything from ports. Since you are new at this: don't forget to CVSup 
your ports tree after you install. Also, if I were you, I would install 
portupgrade and always use portupgrade/portinstall instead of manually 
compiling ports.

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


Thunderbird warning: .gtkrc-2.0-scrollbar_cog

2004-12-14 Thread Kiffin Gish
When I startup thunderbird, I get the following warning (although it
seems that further everything is okay):
/home/kiffin/.gtkrc-2.0:2: Unable to find include file:
.gtkrc-2.0-scrollbar_cog
What does this mean?

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


Re: php4 install has conflicts

2004-12-14 Thread Noah
On Wed, 15 Dec 2004 10:04:52 +1030, Ian Moore wrote
 On Wed, 15 Dec 2004 09:55, you wrote:
  On Wed, 15 Dec 2004 09:30, Noah wrote:
   On Tue, 14 Dec 2004 14:52:53 -0800, Derrick Ryalls wrote
  
 what is the cleanest way to get PHP4 installed here?  There are a lot
 of programs that have dependancies on mod_php4.  how do I update all
 those dependancies to the latest version of mod_php4?  and then how
 do I cleanly remove all those older versions of mod_php4?

 --- snip ---

 # make install clean
 ===  Installing for php4-4.3.9_1

 ===  php4-4.3.9_1 conflicts with installed package(s):
  mod_php4-4.3.5_7,1
  mod_php4-4.3.6_1,1
  mod_php4-4.3.8_2,1
  mod_php4-4.3.9_1,1

  They install files into the same place.
  Please remove them first with pkg_delete(1).
 *** Error code 1

 Stop in /usr/ports/lang/php4.
   
I recommend trying portupgrade (with the -N flag I believe)
  
   I think I am following you correctly here?
  
   --- snip ---
  
   # portupgrade -N mod_php4-4.3.9_1,1
   # make install clean
   ===  Installing for php4-4.3.9_1
  
   ===  php4-4.3.9_1 conflicts with installed package(s):
 mod_php4-4.3.5_7,1
 mod_php4-4.3.6_1,1
 mod_php4-4.3.8_2,1
 mod_php4-4.3.9_1,1
  
 They install files into the same place.
 Please remove them first with pkg_delete(1).
   *** Error code 1
  
   Stop in /usr/ports/lang/php4.
  
   --- snip ---
 
  Try portupgrade -rR php4\*
  The -N flag is for installing new packages, not upgrading existing ones.
  -rR should resolve all dependencies above  below php4. That should also
  remove all the old versions .
 
 Oops,
 I shouldn't answer things before I've woken up properly!
 I missed the fact you had mod_php installed rather than php.
 I believe you need to pkg_delete mod_php and then install php, since 
 the Makefile for mod_php says: CONFLICTS=  php4-4* php4-cli-4* 
 php4-cgi-4*


Okay, so I remove mod_php, huh - and then reinstall it?

take a look at this.  how do I handle all the packages that Need mod_php?  how
do I do this cleanly?

--- snp ---

# pkg_delete mod_php4-4.3.5_7,1 
pkg_delete: package 'mod_php4-4.3.5_7,1' is required by these other packages
and may not be deinstalled:
gallery-1.4.4.2
gallery-1.4.4.4
php4-bz2-4.3.9_1
php4-gettext-4.3.8_2
php4-mysql-4.3.8_2
php4-pcre-4.3.8_2
php4-session-4.3.8_2
phpMyAdmin-2.5.6_1
phpMyAdmin-2.5.7.1
phpbb-2.0.8_3
squirrelmail-1.4.3a



--- snip ---



 
 Cheers,
 
 -- 
 Ian Moore
 
 GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc

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


RE: php4 install has conflicts

2004-12-14 Thread Haulmark, Chris
Someone broke the silence: 


 Okay, so I remove mod_php, huh - and then reinstall it?
 
 take a look at this.  how do I handle all the packages that Need
 mod_php?  how do I do this cleanly?
 
 --- snp ---
 
 # pkg_delete mod_php4-4.3.5_7,1
 pkg_delete: package 'mod_php4-4.3.5_7,1' is required by these other
 packages and may not be deinstalled:
 gallery-1.4.4.2
 gallery-1.4.4.4
 php4-bz2-4.3.9_1
 php4-gettext-4.3.8_2
 php4-mysql-4.3.8_2
 php4-pcre-4.3.8_2
 php4-session-4.3.8_2
 phpMyAdmin-2.5.6_1
 phpMyAdmin-2.5.7.1
 phpbb-2.0.8_3
 squirrelmail-1.4.3a
 
 
 


Use -f for pkg_delete when you want to delete a package without any worry about 
the dependencies. 

What I would do is:

pkg_delete -f mod_php4-4.3.5_7,1
portinstall mod_php4

Then you can be safe if you reinstall the rest of them with your previous 
reinstall method.

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


dynamic links question

2004-12-14 Thread Luciano Musacchio
hi, im trying to make realplayer10 work in fbsd5.3, but if it cant be done i 
would like to know this anyway :)

How can i tell this binary where to look for the libs that it cant find (i 
have them on /compat/linux/lib and /compat/usr/X11R6/lib), ive added those 
dirs to /etc/ld.so.conf and then #ldconfig, but nothing changes; please, some 
general orientation would be fine,

thanks

[EMAIL PROTECTED] ldd realplay.bin
realplay.bin:
libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x280e3000)
libgdk-x11-2.0.so.0 = /usr/lib/libgdk-x11-2.0.so.0 (0x28196000)
libatk-1.0.so.0 = /usr/lib/libatk-1.0.so.0 (0x28204000)
libgdk_pixbuf-2.0.so.0 = /usr/lib/libgdk_pixbuf-2.0.so.0 (0x2821d000)
libm.so.6 = /lib/libm.so.6 (0x2823)
libpangoxft-1.0.so.0 = /usr/lib/libpangoxft-1.0.so.0 (0x28251000)
libpangox-1.0.so.0 = /usr/lib/libpangox-1.0.so.0 (0x28272000)
libpango-1.0.so.0 = /usr/lib/libpango-1.0.so.0 (0x2828)
libgobject-2.0.so.0 = /usr/lib/libgobject-2.0.so.0 (0x282b3000)
libgmodule-2.0.so.0 = /usr/lib/libgmodule-2.0.so.0 (0x282e8000)
libdl.so.2 = /lib/libdl.so.2 (0x282ec000)
libglib-2.0.so.0 = /usr/lib/libglib-2.0.so.0 (0x282ef000)
libgtk-x11-2.0.so.0 = /usr/lib/libgtk-x11-2.0.so.0 (0x28359000)
libpthread.so.0 = /lib/libpthread.so.0 (0x285ae000)
libc.so.6 = /lib/libc.so.6 (0x285ff000)
libX11.so.6 = not found
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x2872a000)
libXrandr.so.2 = not found
libXi.so.6 = not found
libXext.so.6 = not found
libXft.so.2 = not found
libXrender.so.1 = not found
libfontconfig.so.1 = not found
libX11.so.6 = not found
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x28734000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x280ce000)
libXft.so.2 = not found
libXrender.so.1 = not found
libfontconfig.so.1 = not found
libX11.so.6 = not found
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


need help with libchk

2004-12-14 Thread Steven Friedrich
I've been tracking stable and current on a couple machines and doing 
portupgrades.

I noticed that super karamba started acting screwy, so I somehow stumbled 
across libchk and I ran it and I believe it said something about super 
karamba having an unresolvable link, so I de/reinstalled superkaramba and it 
mostly works (still having trouble with liquid calendar and liquid weather).

I noticed many other unresolvable links, many indicting firefox (which crashes 
on my machine).

So I tried to use libchk /usr/X11R6/lib/firefox
so it would check in that directory as well.  This doesn't seem to work 
because the links are still reported.  However, if I add that directory to 
rc.conf to the ldconfig_path (whatever), the libchk report no longer contains 
the firefox anomalies.  Am I using libchk wrong when I try to add a directory 
to it on the command line?

And when libchk runs, it reports the directories that it will search, and the 
directory I added to rc.conf doesn't get reported but does seem to get used 
(since the errors disappear from the report).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg and mouse....

2004-12-14 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 14 December 2004 21:32, Bomgardner,Jon wrote:

 Could the error mentioned have happened because I manually installed
 XFree86 4.4 (based on X11 6.6) in trying to get *something* to work on
 this system?  Could this also be causing some of the other problems I've
 been having?  If so, how do I remove XFree?

/usr/ports/UPDATING is your friend. Scroll down to 20040723 and you will find 
detailed instructions on how to remove your XFree86 packages. The cleanest 
solution is probably to remove the XFree86 and imake-4 packages, then remove 
the xorg and imake-6 packages. After that do a clean install of the xorg meta 
port.

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBv5L609WjGjvKU74RAl80AJ90cqj5i3I5z3OLNYpgTN2P0xn2cgCePAzo
0rXYKb9viSZRluG55QTnJJM=
=xZ9s
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot mount cdrom - not a newbie problem

2004-12-14 Thread Adam Fabian
On Wed, Dec 15, 2004 at 09:43:49AM +1000, Timothy Smith wrote:

 is there a way i can delete /dev/acd0* and remake the device, could
 this be a fix?

I believe that mknod would be used to do such a thing; but don't ask
me how, I've never had to do it.
-- 
Adam Fabian ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: php4 install has conflicts

2004-12-14 Thread Noah
On Tue, 14 Dec 2004 19:50:15 -0500, Haulmark, Chris wrote
 Someone broke the silence:
 
  Okay, so I remove mod_php, huh - and then reinstall it?
  
  take a look at this.  how do I handle all the packages that Need
  mod_php?  how do I do this cleanly?
  
  --- snp ---
  
  # pkg_delete mod_php4-4.3.5_7,1
  pkg_delete: package 'mod_php4-4.3.5_7,1' is required by these other
  packages and may not be deinstalled:
  gallery-1.4.4.2
  gallery-1.4.4.4
  php4-bz2-4.3.9_1
  php4-gettext-4.3.8_2
  php4-mysql-4.3.8_2
  php4-pcre-4.3.8_2
  php4-session-4.3.8_2
  phpMyAdmin-2.5.6_1
  phpMyAdmin-2.5.7.1
  phpbb-2.0.8_3
  squirrelmail-1.4.3a
  
  
 
 
 Use -f for pkg_delete when you want to delete a package without any 
 worry about the dependencies.
 
 What I would do is:
 
 pkg_delete -f mod_php4-4.3.5_7,1
 portinstall mod_php4
 
 Then you can be safe if you reinstall the rest of them with your 
 previous reinstall method.


Okay cool.  let me be sure that I am on the same page as you.

do I need to go and reinstall the gallery, php4-bz2 proggies?  is that wahat
you are saying here?

cheers,

Noah


 
 Chris

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


trying to locate Teddy Field's son

2004-12-14 Thread sasha . roxie
Hi Justin,
I'm trying to locate Teddy's son, so googled your name.  If you're the 
one, please contact me -- I'm doing genealogical research and have a 
few questions.  Will try not to bother you overmuch.  Am related to 
your grandfather Abe.

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


RE: trying to locate Teddy Field's son

2004-12-14 Thread Subhro


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of sasha.roxie
 Sent: Wednesday, December 15, 2004 8:24
 To: [EMAIL PROTECTED]
 Subject: trying to locate Teddy Field's son
 
 Hi Justin,
 
 I'm trying to locate Teddy's son, so googled your name.  If you're the
 one, please contact me -- I'm doing genealogical research and have a
 few questions.  Will try not to bother you overmuch.  Am related to
 your grandfather Abe.
 
 Thanks,
 Nina Bunin
 Arlington, VA
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED] 

Eh???!!

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


Re: Strange behavior of ppp, pf and altq on FreeBSD 5.3

2004-12-14 Thread Mauricio Brunstein
Hi!

It's me again, the workaround for the first problem does not work
always, only sometimes.

I hope that somebody could help!

Regards,

Mauricio.


On Mon, 13 Dec 2004 21:30:49 -0300, Mauricio Brunstein
[EMAIL PROTECTED] wrote:
 Please help!
 
 I am new to FreeBSD, and UNIX in general but form the beginning I'm
 fascinated. I had configured a FreeBSD 5.3 machine to be the
 Firewall/gateway of 8 windows PC's. The machine has 2 interfaces one
 (fxp0) is connected to the ADSL modem and the another (rl0) is
 connected to a switch where the windows boxes are connected too. The
 first problem is that sometimes, when ppp redial to the pppoe Internet
 provider,  I can use Internet from the FreeBSD machine, but not from
 the internal network. I had  found a workaround to this problem:
 
 server:~ $ cat /etc/ppp/ppp.linkup
 default:
 ! pfctl -F all -f /etc/pf.conf  /usr/local/etc/ez-ipupdate.conf
 -
 Refreshing the pf rules, the nat appears to work again, after a connection 
 drop.
 
 The problem that I can't solve is the following:
 
 In the FreeBSD manual states that one must use router_enable=NO in
 rc.conf, to avoid routed to delete the routes added by ppp. If I do
 this, I can't have access to the box from outside using ssh.
 
 For reference I added the content of the floowing files:
 
 /etc/rc.conf
 /etc/start_if.tun0
 /etc/ppp/ppp.conf
 /etc/pf.conf
 /root/kernels/GENERICconALTQ # the kernel config file
 demesg
 
 Thank you very much!!!
 
 -
 server:~ $ cat /etc/rc.conf
 
 # -- sysinstall generated deltas -- # Sun Nov 21 13:07:41 2004
 # Created: Sun Nov 21 13:07:41 2004
 # Enable network daemons for user convenience.
 # Please make all changes to this file, not to /etc/defaults/rc.conf.
 # This file now contains just the overrides from /etc/defaults/rc.conf.
 
 hostname=server.estudio
 ifconfig_rl0=inet 192.168.2.1  netmask 255.255.255.0
 netd_enable=YES
 saver=dragon
 scrnmap=NO
 sshd_enable=YES
 sshd_flags=-4 -p 222
 usbd_enable=YES
 network_interfaces=lo0 tun0 rl0
 ifconfig_tun0=
 #router_enable=NO
 router_enable=YES
 gateway_enable=YES  # Set to YES if this host will be a gateway
 pf_enable=YES # Enable PF (load module if required)
 pf_rules=/etc/pf.conf # rules definition file for pf
 pf_flags= # additional flags for pfctl startup
 #pflog_enable=YES  # start pflogd(8)
 #pflog_logfile=/var/log/pflog  # where pflogd should store the logfile
 #pflog_flags=  # additional flags for pflogd startup
 inetd_enable=YES   # Run the network daemon dispatcher (YES/NO).
 inetd_program=/usr/sbin/inetd # path to inetd, if you want a different one.
 inetd_flags=-wW -C 60 # Optional flags to inetd
 #nmbd_enable=YES
 #smbd_enable=YES
 #winbindd_enable=YES
 named_enable=YES   # Run named, the DNS server (or NO).
 named_program=/usr/sbin/named # path to named, if you want a different one.
 named_flags=-u bind   # Flags for named
 named_pidfile=/var/run/named/pid # Must set this in named.conf as well
 named_chrootdir=/var/named# Chroot directory (or  not to auto-chroot 
 it)
 named_chroot_autoupdate=YES   # Automatically install/update chrooted
  # components of named. See /etc/rc.d/named.
 named_symlink_enable=YES  # Symlink the chrooted pid file
 
 ---
 
 server:~ $ uname -a
 FreeBSD server.estudio 5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #1: Tue
 Nov 23 02:13:24 ART 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERICconALTQ  i386
 
 
 
 server:~ $ cat /etc/start_if.tun0
 ppp -ddial default  /usr/local/etc/ez-ipupdate.conf
 
 ---
 
 server:~ $ sudo cat /etc/ppp/ppp.conf
 default:
 set log Phase Chat IPCP CCP tun command
 # set log Phase Chat LCP IPCP CCP tun command
 # nat enable yes
 # nat same_ports yes
 # nat use_sockets yes
 set device PPPoE:fxp0 # replace fxp0 with your Ethernet device
 set mtu 1492
 set mru 1492
 enable mssfixup
 set speed sync
 disable acfcomp protocomp
 deny acfcomp
 set authname xx
 set authkey yy
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 
 add default HISADDR
 # enable lqr
 disable ipv6cp
 # set lqrperiod 25
 enable dns
 
 
 
 server:~ $ cat /etc/pf.conf
 
 ## Macros
 
 NoRoute = { 127.0.0.1/8, 172.16.0.0/12, 10.0.0.0/8, 255.255.255.255/32 }
 
 ## Tables
 
 # Options
 
 #set optimization aggressive
 set debug loud
 
 # Normalization
 
 #scrub in on tun0 all random-id no-df
 scrub in on tun0 all
 
 #  Queueing
 
 altq on tun0 priq bandwidth 100Kb queue { q_pri, q_def, q_med }
 queue q_pri priority 7
 queue q_med priority 3
 queue q_def 

Re: cannot mount cdrom - not a newbie problem

2004-12-14 Thread Timothy Smith
Subhro wrote:
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of Timothy Smith
Sent: Wednesday, December 15, 2004 5:14
To: James; [EMAIL PROTECTED]
Subject: Re: cannot mount cdrom - not a newbie problem
titan# mount -t cd9660 /dev/cd0a /mount
cd9660: /dev/cd0a: Invalid argument
the exact same issue.
reinstalling etc is not an option since this is a development machine
and i need to work on it all the time, can't afford for it to be down.
fyi i am using freebsd 4.10 release
is there a way i can delete /dev/acd0* and remake the device, could this
be a fix?
   

As far as remaking the devices are concerned, you can use the MAKEDEV script
for remaking all devices. Are you sure that you drive is jumpered properly
and the data cables connected to the drives are in good condition?
Regards
S. 

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India
 

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


Re: Use /var for storing webpages.. Why???

2004-12-14 Thread Adam
On Tuesday, 14 December 2004 at 21:50:45 -0600, Adam wrote:
 In Greg Lehey's book The Complete FreeBSD 4th edition, he says,
 Do not have a separate /var file system unless you have a good idea
 how big it should be.  A good example might be a web server, where
 (contrary to FreeBSD's recommendations) it's a good idea to put the
 webpages on the /var file system. p.70

 Why is it a good idea to put webpages in the /var file system and
 not the /usr file system?

Because they're not part of the system.  Despite the name, /usr is
mainly for the operating system.  /var is for content that frequently
varies.

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

Okay, I understand not using /usr, but why not use /home?  Does storing
webpages in /var give you a performance increase?  Or is it convention that
you would store webpages in /var?  I'm setting up a webserver at my house
where I'll serve several websites for my friends, should I have them store
webpages in /var/username or keep them in /home/username?

BTW, awesome book.  I love reading about the old RLL and MFM hard drives I
used to config when I was a kid.  Brings back a lot of memories.

Thanks
Adam

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


Re: Use /var for storing webpages.. Why???

2004-12-14 Thread Greg 'groggy' Lehey
On Tuesday, 14 December 2004 at 22:05:20 -0600, Adam wrote:
 On Tuesday, 14 December 2004 at 21:50:45 -0600, Adam wrote:
 In Greg Lehey's book The Complete FreeBSD 4th edition, he says,
 Do not have a separate /var file system unless you have a good idea
 how big it should be.  A good example might be a web server, where
 (contrary to FreeBSD's recommendations) it's a good idea to put the
 webpages on the /var file system. p.70

 Why is it a good idea to put webpages in the /var file system and
 not the /usr file system?

 Because they're not part of the system.  Despite the name, /usr is
 mainly for the operating system.  /var is for content that frequently
 varies.

 Okay, I understand not using /usr, but why not use /home? 

/var is for content that frequently varies.  That's its purpose.
/home is for user home directories.

 Does storing webpages in /var give you a performance increase?

No.

 Or is it convention that you would store webpages in /var?

It's certainly a convention.

 I'm setting up a webserver at my house where I'll serve several
 websites for my friends, should I have them store webpages in
 /var/username or keep them in /home/username?

I suppose if you're in a multi-user environment where each user has
his own web pages, it's better to have the users' web pages in his
public_html directory.  You can do this in either direction with
symlinks.

It's easy to read too much into these recommendations.  I personally
don't follow them.  There are hysterical raisins behind that: I set up
my original web server before I thought about the issue, and I've been
too lazy to move.  I *would* follow them with a new installation.  My
personal web pages are in my home directory, and
http://.lemis.com/grog/ (count those s) is a symlink to
~grog/public_html.

My externally visible web server is a colocated system which I share
with a number of friends.  They store the main web files in /var/www,
but individuals have their web pages in a subdirectory of their home
directory that matches the web site name (in my case,
~grog/www.lemis.com/).

 BTW, awesome book.  I love reading about the old RLL and MFM hard
 drives I used to config when I was a kid.  Brings back a lot of
 memories.

Thanks

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


pgpb6V2daLB6D.pgp
Description: PGP signature


Re: Strange startup behavior on 5.3-release

2004-12-14 Thread epilogue
On Tue, 14 Dec 2004 16:36:06 -0800
Jim Pazarena [EMAIL PROTECTED] wrote:

 
 one would think, or expect, that if you disable sendmail using
 SENDMAIL_ENABLE=NONE, that NONE sendmail activity would be
 triggered.
 
 This seemed to be the way it worked in FreeBSD 4.XX, and altho we
 can live with these changes for 5.XX, is there any where that we
 can read the reasoning for making such a change?

hello jim,

while it may not be exactly what you're looking for, i suggest that
you take a few minutes to review 'man rc.sendmail'.  judging by those
rc variables, it strikes me as a means to allow for greater
flexibility/granularity in the options.

if you spend a little time at sendmail.org, you *may* find an
authoritative answer to your question.


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


Re: ssmtp fails to open smtp server

2004-12-14 Thread Gary Schenk
Message: 5
Date: Tue, 14 Dec 2004 12:49:09 +
From: Daniel Bye [EMAIL PROTECTED]
Subject: Re: ssmtp fails to open smtp server
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii
On Mon, Dec 14, 2004 at 12:49:09 09 +, Daniel Bye wrote:
snip

 su-2.05b# cd /usr/src/usr.sbin/sendmail/cf/cf
 su: cd: /usr/src/usr.sbin/sendmail/cf/cf: No such file or directory
This is actually to be found in /usr/src/contrib/sendmail/cf/cf/
And so it is.
[---snip---]
 And then created a ssmtp.conf file thusly:

 su-2.05b# more /usr/local/etc/ssmtp/ssmtp.conf
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 rewriteDomain=socal.rr.com
 hostname=fuzz.socal.rr.com

snip
It looks to me as if mailhub should be an fqdn of a mail relay server,
not an email address...
Yep, these typos are killing me. That got ssmtp working, and I'm sending 
mail out quite nicely with mutt now. However, into each life a little 
rain must fall. Fetchmail is no longer working. After googling the error 
 message I found that fetchmail uses sendmail to deliver mail to my 
mail spool, and I disabled sendmail after installing ssmtp. Hoepfully I 
can find a way to get fetchmail to deliver directly to my spool. Back to 
the man pages.

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


Shell hacker and freebsd booting experts, I need some serious investigation regarding cups.sh

2004-12-14 Thread Mark Jayson Alvarez
Good day,

  I found out this very weired experience on
freebsd(4.10, 5.3) booting process one time when I was
using my home pc. I've installed cups and renamed the
cups.sh.sample to cups.sh to be able to run it at boot
time. I have successfully set up my printer and be
able to print some test page. Now, what bothers me
most is that, each time I try to cancel the loading of
shell scripts residing in /usr/local/etc/rc.d,
particularly the cups.sh which I'm sure is causing the
trouble, the computer starts to halt or shutdown just
right when I'm about to type my username at the login
prompt. Do you know what causes this problem? I'm
thinking perhaps there's a bug in the cups.sh script
that makes the computer halt if the script is
cancelled while being read. I've tried it at work with
my (5.3) workstation but then the same problem occurs.
Try it yourself and I bet you'll experience the same
thing. 

I haven't put any script to run inside the rc.d other
than that of the cups.sh which was put by the cups
installation process and other applications I've
installed(kdelibs.sh..etc.). This is weired. Happens
both on FreeBSD 4.10 and 5.3, only after installing
cups. Any idea?




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Use /var for storing webpages.. Why???

2004-12-14 Thread Eric Kjeldergaard
  Does storing webpages in /var give you a performance increase?
 
 No.
 

Well, this is not necessarily true.  When designing a server and
optimising for performance, one thinks about which partitions will get
certain types of usage.  One that varies a lot you will want to have a
fast disk or the fast part of a disk.  When designing one that changes
very little, you would want to utilise the slower drives/parts of
drives.  In this way, if you page is variant data (changes a lot) and
you've designed your system such that frequently modified directories
(/var and /tmp, for isntance) get the fastest partitions, certainly it
would give a performance increase.

-- 
If I write a signature, my emails will appear more personalised.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot mount cdrom - not a newbie problem

2004-12-14 Thread Peter Harmsen
Giorgos Keramidas wrote:
On 2004-12-15 09:43, Timothy Smith [EMAIL PROTECTED] wrote:
 

titan# mount -t cd9660 /dev/cd0a /mount
cd9660: /dev/cd0a: Invalid argument
   

Try without *any* partition name:
titan# mount -t cd9660 /dev/cd0 /mount
Since /mount is a non-standard name, you _did_ check that /mount exists
as a directory right?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Have you checked the acl rights of /dev/acd0 ?
On my PC i just installed FreeBSD 5.3  Issuing chgrp user /dev/acd0
+ chmod 770 /dev/acd0 solved the problem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing hw.snd.pcm0.buffersize in 4.10.

2004-12-14 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 14 December 2004 23:46, Nikolas Britton wrote:
 Sandy Rutherford wrote:
[...]
  
   I wonder if it wouldn't be:
  
   set hw.snd.pcm0.bufffersize=N
 
 This doesn't work either.  No error --- it just ignores the setting.

This only works, if the driver supports it. To load loader environmental 
variables something like TUNABLE_INT(hw.snd.pcmN.buffersize, ...) should 
show up in the driver code:

% cd /usr/src/sys/dev/sound/  cat `ls` | grep TUNABLE_
% cd /usr/src/sys/dev/sound/isa  cat `ls` | grep TUNABLE_
% cd /usr/src/sys/dev/sound/pci  cat `ls` | grep TUNABLE_
% cd /usr/src/sys/dev/sound/pcm  cat `ls` | grep TUNABLE_
TUNABLE_INT(hw.snd.targetirqrate, chn_targetirqrate);
TUNABLE_INT(hw.snd.verbose, sndstat_verbose);
TUNABLE_INT_DECL(hw.snd.verbose, 1, sndstat_verbose);
TUNABLE_INT(hw.snd.unit, snd_unit);
TUNABLE_INT(hw.snd.maxautovchans, snd_maxautovchans);
% cd /usr/src/sys/dev/sound/usb  cat `ls` | grep TUNABLE_

This means only the tuneables hw.snd.targetirqrate, hw.snd.verbose, 
hw.snd.unit and hw.snd.maxautovchans are retrieved from the loader 
environment at boot time by the pcm driver. (I took this from the sources of 
the RELENG_*5* branch on my system) 

[...]

 Yea, I got my old laptop out that has 4.10 on it and I was rooting
 around in the src and found that, I tried everywitch way to get it to
 work in the kernel file but It nerver did work (config always bitched at
 me), I tried it also like this make DSP_BUFFERSIZE=16384 depend  make
 DSP_BUFFERSIZE=16384  make DSP_BUFFERSIZE=16384 install. this did not
 pruduce any errors but it didn't do anything ether, it skipped over the
 sound stuff as if there was no change, also I tried hard coding it it in
 sound_config.h but again same effect (maybe I did it wrong, i'm not a
 programmer), maybe you have to do a complete rebuild of the kernel and
 I did not try that because this laptop is only a P100 with 40MB Ram.
 also I found refrences to bufsz from /dev/sndstat so I tried adding it
 to the kernel config file like this device sbc0 at isa? port 0x220 irq
 10 drq 1 bufsz 16384 and config didn't like that (I never tried it with
 device pcm tho?)

AFAIK the define is named DSP_BUFFSIZE (in src/sys/dev/sound/pcm/sound.h. 
DSP_BUFFSIZE can be used to define the default buffersize for sound drivers, 
but most of the sound drivers use their own defines.

If you want to change the default buffersize for a sound driver you need to 
search for a define like xxx_BUFFSIZE, where xxx is the name of the sound 
driver (maybe some developers use other naming-conventions).

ie., if you want to change the default buffersize of the ESS driver you need 
to change the line #define ESS_BUFFSIZE (4096) in 
src/sys/dev/sound/isa/ess.c.

If you use the sbc driver, you need to do this changes in sb8.c or sb16.c, 
depending on the soundcard you are using. sbc.c is only the code for the 
corresponding bridge driver.

However, I'm not a guru, so I can't guess, if a driver works better with any 
other buffer size defined, than the original one. 

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBv9zz09WjGjvKU74RAtNOAJ4wAZwaRAC3cGywvLB9fGftObId0ACdGGGh
nCoW63okjf5L5LRPyidM2JA=
=R3es
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


panic: pmap_enter

2004-12-14 Thread NagasH
Hailings, freebsd-questions.

I downloaded FreeBSD 5.3-RELEASE-i386-miniinst.iso

when i try to boot from CD i get this message

Mounting root from ufs: /dev/md0
panic: pmap_enter: invalid page directory pdir=0x101e063,
va=00xfff2a000

Uptime: 2s


Sorry.. My english is bad :) I don't know much.

configuration:
AMD AthlonXP 2600+ (@nForce2)
768Mb RAM
Radeon9600XT
HDD Seagate 7200.7 160Gb (,D) + 120Gb (E,Unallocated (for freebsd))
CD-RW+DVD Sony CRX320E
+ modem, audio, e.t.c.

Plz. Help!
-- 
Such a Fool's World 
 ,
 NagasH  mailto:[EMAIL PROTECTED]
 icqUIN: 662723

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


Re: cannot mount cdrom - not a newbie problem

2004-12-14 Thread Timothy Smith
Peter Harmsen wrote:
Giorgos Keramidas wrote:
On 2004-12-15 09:43, Timothy Smith [EMAIL PROTECTED] wrote:
 

titan# mount -t cd9660 /dev/cd0a /mount
cd9660: /dev/cd0a: Invalid argument
  

Try without *any* partition name:
titan# mount -t cd9660 /dev/cd0 /mount
Since /mount is a non-standard name, you _did_ check that /mount exists
as a directory right?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

 

Have you checked the acl rights of /dev/acd0 ?
On my PC i just installed FreeBSD 5.3  Issuing chgrp user /dev/acd0
+ chmod 770 /dev/acd0 solved the problem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


i'm su'd to root..
it's not a permission problem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PXE multiboot FreeBSD and other OSes?

2004-12-14 Thread Kimmo Mustonen
On Wed, 15 Dec 2004, Erik Norgaard wrote:
c. Do you want to create a diskless multiboot machine?
Mainly c).
a: For each host you can specify different pxeboot loader and different
 root-path in the dhcpd.conf.
This is what I have now. I just cannot change from FreeBSD to some other 
OS without checking the HW address and changing the boot loader from 
pxegrub or pxelinux to pxeboot, because the others cannot boot FreeBSD.

b: Booting the pxeboot-loader it will run the loader.rc scripts, you can
 set this up to offer different boot menu. If you use TFTP to fetch
 these, this can set different nfs root paths
This probably solves the problem changing dhcpd.conf each time I want to 
change between FreeBSD versions. Thanks.

I guess there's no way to make an entry in loader.rc that would enable
FreeBSD loader to load other operating systems or other pxe boot loaders 
(like pxegrub to continue from there)?

c: This I don't know.
Is there a better forum or mailing list to ask about this?
Regards,
Kimmo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4 install has conflicts

2004-12-14 Thread Ian Moore
On Wed, 15 Dec 2004 11:49, Noah wrote:
 On Tue, 14 Dec 2004 19:50:15 -0500, Haulmark, Chris wrote

  Someone broke the silence:
   Okay, so I remove mod_php, huh - and then reinstall it?
  
   take a look at this.  how do I handle all the packages that Need
   mod_php?  how do I do this cleanly?
  
   --- snp ---
  
   # pkg_delete mod_php4-4.3.5_7,1
   pkg_delete: package 'mod_php4-4.3.5_7,1' is required by these other
   packages and may not be deinstalled:
   gallery-1.4.4.2
   gallery-1.4.4.4
   php4-bz2-4.3.9_1
   php4-gettext-4.3.8_2
   php4-mysql-4.3.8_2
   php4-pcre-4.3.8_2
   php4-session-4.3.8_2
   phpMyAdmin-2.5.6_1
   phpMyAdmin-2.5.7.1
   phpbb-2.0.8_3
   squirrelmail-1.4.3a
 
  Use -f for pkg_delete when you want to delete a package without any
  worry about the dependencies.
 
  What I would do is:
 
  pkg_delete -f mod_php4-4.3.5_7,1
  portinstall mod_php4
 
  Then you can be safe if you reinstall the rest of them with your
  previous reinstall method.

 Okay cool.  let me be sure that I am on the same page as you.

 do I need to go and reinstall the gallery, php4-bz2 proggies?  is that
 wahat you are saying here?

 cheers,

 Noah

  Chris

I could be wrong about this, but I don't believe you need to reinstall those 
ports.
Just force delete all old versions of mod-php4 and then install the new 
version of php4 or mod-php4 (whichever one you actually want). The other 
ports shouldn't need to be reinstalled, because the new version of php 
installs to the same location as the old version. Hence the ports that use it 
will just use the new version automatically.
You may also want to clean up the duplicate gallery versions by using 
pkg_delete -f to remove both versions and then install just the latest 
version of gallery.

To avoid this problem in the future, always use portupgrade to upgrade your 
ports. That way you won't get multiple versions installed!

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpbQgvj96yom.pgp
Description: PGP signature


Atheros PCMCIA wireless card

2004-12-14 Thread [EMAIL PROTECTED]

hi,

im trying to automaticaly load on boot my atheros wireless card.
i have a laptop and the card is a pcmcia.
when the machine boots y doesn't recognice the card because
it doesnt know what driver to atach. but if i put
ifconfig ath0 address
it loads without problems
ive found out that to fix the problem i should edit the
file /etc/pccard.conf but i dont know what string i must use to
identify my card.
i've tried to put the string of the output of pciconf but it
doesnt work.
here you have some information:

/* this is the information of the card */

thinkpad#pciconf -lv

[EMAIL PROTECTED]:0:0:0: class=0x02 card=0x3a941186
chip=0x0013168c rev=0x01 hdr=0x00

vendor = 'Atheros Communications Inc.'
device = 'AR5213 802.11a/b/g Wireless Adapter'
class = network
subclass = ethernet

/*/

/* this is what ive filled in /etc/defaults/pccard.conf. what is
wrong here? */

card /Atheros */ / */
config auto ath ?
insert /etc/pccard_ether $device start
remove /etc/pccard_ether $device stop

/**/

/* and this is the message that appears when i put in the
pcmcia card. */

cardbus0: network, ethernet at device 0.0 (no driver
attached)
cbb0: Cardbus card activation failed

/**/

The last thing i want tell you is that after ifconfig ath0, if i
remove the card and i put in again, the driver loads
automatically. do you know how remember the driver to atach?
is there any file that has this information?

thank you in advance.

Juan



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


RE: DHCP and 2 subnets

2004-12-14 Thread goose bla

no no,,

i have only 1 interface for LAN. and it has two ip address. (inet+allias)(in
real it has 5 alliases, but i need only two subnets for dhcp client pc.
another alliases are for clients with static IP.

- Original Message - 
From:Mike Oliveri [EMAIL PROTECTED]
To:  goose bla [EMAIL PROTECTED]
Cc:  [EMAIL PROTECTED]
Sent:Sun, 12 Dec 2004 21:44:32 -0600
Subject: Re: DHCP and 2 subnets

 I assume you have two different interfaces on the box, one for each
 box? Judging by the router addresses, these would be 10.1.0.1 and
 10.2.0.1. If the hardware-reserved hosts are connected to the
 appropriate interface, I would guess  the second would be working.
 
 Otherwise, can you put the host declarations in with the subnet
 definitions? It's been a while since I've read through man dhcpd, so
 you might want to take a look at it to be sure.
 
 Take care,
 Mike
 
 
 On Sun, 12 Dec 2004 13:13:22 UT, goose bla [EMAIL PROTECTED]
 wrote:
  hello,
  
  I have router with inet and allias. 10.1.0.0/24 10.2.0.0/24.
  i want allot to pc(client) their IP by their MAC adress. but it's going
 
  only with one subnet. i can allot IP only to one subnet.
  
  this is running
  
  subnet 10.1.0.0 netmask 255.255.255.0 {
  range 10.1.0.31 10.1.0.60;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option domain-name bla.org;
option domain-name-servers 222.222.222.22;
option routers 10.1.0.1;
  }
  
  host pc1 {
  hardware ethernet 00:33:11:22:bb:94;
  fixed-address 10.1.0.10;
  }
  
  but i need somethink like this:
  
  subnet 10.1.0.0 netmask 255.255.255.0 {
  range 10.1.0.31 10.1.0.60;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option domain-name bla.org;
option domain-name-servers 222.222.222.22;
option routers 10.1.0.1;
  }
  
  subnet2 10.2.0.0 netmask 255.255.255.0 {
  range 10.2.0.31 10.2.0.60;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option domain-name bla.org;
option domain-name-servers 222.222.222.22;
option routers 10.2.0.1;
  
  host pc1 {
  hardware ethernet 00:33:11:22:bb:94;
  fixed-address 10.1.0.10;
  }
  
  host pc2 {
  hardware ethernet 00:44:44:22:bb:94;
  fixed-address 10.2.0.10;
  }
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

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


swapfile

2004-12-14 Thread Nelis Lamprecht
Hi,

Checked the manual but couldn't find anything regarding this. If you
have created more than one swap file how do you specify them in your
rc.conf file ? Manually it works fine but obviously when the machine
boots I want them both to be used again.

swapfile=/mailstore/swap1
swapfile=/mailstore/swap2

The above doesn't work, only the first one is used.

Thanks.

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


mpd

2004-12-14 Thread Mattias Barthel
Hi.

FreeBSD 4.10

I am using mpd as pptp client to connect
to my ALCATEL SPEED TOUCH adsl modem.

It only works fine when I have set the firewall 
type to open.
When I want to use my good ole FW rules the 
mpd logs shows me:

error writing len 18 frame to bypass: Permission denied


What rule shoud I have to make it possible?
Or is this really the problem?

Thank you,

Mattias


-- 
---[ Mattias Barthel ]-
  Victoria's Secret is that she dresses like a slut.
---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssmtp fails to open smtp server

2004-12-14 Thread Daniel Bye
On Mon, Dec 13, 2004 at 10:30:22PM -0800, Gary Schenk wrote:
 I need help, I'm out of ideas. I've just installed 5.3:
 
 bash-2.05b$ uname -a
 FreeBSD fuzz.socal.rr.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 
 04:19:18 UTC 2004 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 
 My email is working fine with Mozilla, however I'd like to get mutt 
 working. The problem is sending email with mutt. I first tried to make a 
 custom sendmail.cf file as outlined in the handbook vol.II page 334. I 
 wrote the file, and then tried to follow the instructions on page 332 to 
 make a valid sendamil.cf file. When I tried the command:
 
 su-2.05b# cd /usr/src/usr.sbin/sendmail/cf/cf
 su: cd: /usr/src/usr.sbin/sendmail/cf/cf: No such file or directory

This is actually to be found in /usr/src/contrib/sendmail/cf/cf/

 The handbook on the web was no different. So that had me stuck. Reading 
 further I saw ssmtp might be the solution to my problems. As shown in 
 the handbook I installed ssmtp with 'make install replace clean' Then 
 did 'make replace' as per the message after installing. I then edited 
 the rc.conf file:
 
[---snip---]
 sendmail_enable=NONE
 
 And then created a ssmtp.conf file thusly:
 
 su-2.05b# more /usr/local/etc/ssmtp/ssmtp.conf
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 rewriteDomain=socal.rr.com
 hostname=fuzz.socal.rr.com
 
 When I installed, I gave my machine a hostname that I thought might help 
 me fool sendmail into working for me.
 
 su-2.05b# hostname
 fuzz.socal.rr.com
 
 When I try to send mail from mutt I get these errors in /var/log/maillog:
 
 Dec 13 21:55:44 fuzz sSMTP[525]: Unable to locate [EMAIL PROTECTED]
 Dec 13 21:55:44 fuzz sSMTP[525]: Cannot open [EMAIL PROTECTED]:25
 Dec 13 22:00:25 fuzz sSMTP[629]: Unable to locate [EMAIL PROTECTED]
 Dec 13 22:00:25 fuzz sSMTP[629]: Cannot open [EMAIL PROTECTED]:25
 
 I've botched something up, but don't know what. Any ideas?

It looks to me as if mailhub should be an fqdn of a mail relay server,
not an email address...

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp2tJV4t31EV.pgp
Description: PGP signature


HI

2004-12-14 Thread Leon
Hi,

I have unusual question.
I have tried to install and configurate FreeBSD but unfortunately I couldn't do 
it myself.
So I would like to know if you can give me a phone number of somebody who lives 
in Brooklyn, NY with whom I can contact and who can help me to install and 
configurate it.

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


cannot mount cdrom - not a newbie problem

2004-12-14 Thread Timothy Smith
i have a genuine problem here.
i noticed my backup cdrw's had stopped working at some point. upon 
furthur investigation i find i cannot mount cd's full stop.

titan# mount -t cd9660 /dev/acd0c /mount
cd9660: /dev/acd0c: Invalid argument
the above command makes the drive light flicker for 3 seconds then the 
error.

this is NOT a hardware problem. i get the exact same issue with my brand 
new dvd drive.

here is what dmesg gas to say:
acd0: DVD-R HL-DT-ST DVDRAM GSA-4160B at ata1-slave WDMA2
da0 at hpt3740 bus 0 target 0 lun 0
da0: HPT3xx RAID 1 Array 3.00 Fixed Direct Access SCSI-0 device
da0: 190782MB (390721957 512 byte sectors: 255H 63S/T 24321C)
Mounting root from ufs:/dev/da0s1a
cd0 at ata1 bus 0 target 1 lun 0
cd0: HL-DT-ST DVDRAM GSA-4160B A301 Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [1 x 2048 byte records]
note this was working perfectly.
i suspect that some how my ata device has gone bad some how.
let me get the obvious replys out of the way:
yes i have googled nothing i can find has even touched on a fix.
yes there is a disc in the drive
no it is not an audio disk.
there is nothing else connected to the ide ports.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cpu temperature

2004-12-14 Thread Spades
is there a program to check the cpu's temperature
for 4.10-stable? the machine is in remote and
i hope to monitor the cpu/system temperature stats
via ssh.
thanks,
-- bryan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot mount cdrom - not a newbie problem

2004-12-14 Thread James
Hi,

Have you tried:

# mount -t cd9660 /dev/cd0 /mntpnt

Seeing as how you said its a cdrw, I remember reading somewhere to 
use /dev/cd0 and not /dev/acd0

On Tuesday 14 December 2004 07:16 am, Timothy Smith wrote:
 i have a genuine problem here.
 i noticed my backup cdrw's had stopped working at some point. upon
 furthur investigation i find i cannot mount cd's full stop.

 titan# mount -t cd9660 /dev/acd0c /mount
 cd9660: /dev/acd0c: Invalid argument

 the above command makes the drive light flicker for 3 seconds then the
 error.

 this is NOT a hardware problem. i get the exact same issue with my brand
 new dvd drive.

 here is what dmesg gas to say:
 acd0: DVD-R HL-DT-ST DVDRAM GSA-4160B at ata1-slave WDMA2
 da0 at hpt3740 bus 0 target 0 lun 0
 da0: HPT3xx RAID 1 Array 3.00 Fixed Direct Access SCSI-0 device
 da0: 190782MB (390721957 512 byte sectors: 255H 63S/T 24321C)
 Mounting root from ufs:/dev/da0s1a
 cd0 at ata1 bus 0 target 1 lun 0
 cd0: HL-DT-ST DVDRAM GSA-4160B A301 Removable CD-ROM SCSI-0 device
 cd0: 16.000MB/s transfers
 cd0: cd present [1 x 2048 byte records]

 note this was working perfectly.
 i suspect that some how my ata device has gone bad some how.

 let me get the obvious replys out of the way:
 yes i have googled nothing i can find has even touched on a fix.
 yes there is a disc in the drive
 no it is not an audio disk.
 there is nothing else connected to the ide ports.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Xorg and mouse....

2004-12-14 Thread Bomgardner,Jon
Hello All! 

Well, I was finally able to get Xorg up and running at full screen
however, I seem to have this peculiar problem. While I can move my mouse
around in the window, I cannot use any of the mouse buttons. Now, I have
not set up a Window Manager yet (will be setting up KDE as soon as I can
get things straightened out) but I thought I'd at least get a
right-click context menu in Xorg.  Would this be correct? And if so, how
would I go about troubleshooting this?  I have no way to remotely
connect to the computer so any suggestions involving that probably won't
help.

Anyway, after the success I've had with answers from the group so far, I
expect it won't take long to lick this problem as well...

Thanks in advance for the help,
Jon Bomgardner



==
This communication, together with any attachments hereto or links contained 
herein, is for the sole use of the intended recipient(s) and may contain 
information that is confidential or legally protected. If you are not the 
intended recipient, you are hereby notified that any review, disclosure, 
copying, dissemination, distribution or use of this communication is STRICTLY 
PROHIBITED.  If you have received this communication in error, please notify 
the sender immediately by return e-mail message and delete the original and all 
copies of the communication, along with any attachments hereto or links herein, 
from your system.

==
The St. Paul Travelers e-mail system made this annotation on 12/14/2004, 
11:56:35 AM.


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


Re: Cleaning port config options

2004-12-14 Thread Joshua Lokken
On Mon, 13 Dec 2004 10:38:17 -0500, Robert Fitzpatrick
[EMAIL PROTECTED] wrote:
 I was installing the mail/dspam port and the selection of options
 appeared for configuration, then after selecting, the configuration
 stopped with an error that I had selected too many back-end options. I
 did 'make distclean' and 'make clean', but the options list will not
 appear again for me to alter the configuration options. How do I do
 this?

# rm /var/db/ports/portname/options 


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


Re: Xorg and mouse....

2004-12-14 Thread Louis LeBlanc
On 12/14/04 10:56 AM, Bomgardner,Jon  sat at the `puter and typed:
 Hello All! 
 
 Well, I was finally able to get Xorg up and running at full screen
 however, I seem to have this peculiar problem. While I can move my mouse
 around in the window, I cannot use any of the mouse buttons. Now, I have
 not set up a Window Manager yet (will be setting up KDE as soon as I can
 get things straightened out) but I thought I'd at least get a
 right-click context menu in Xorg.  Would this be correct? And if so, how
 would I go about troubleshooting this?  I have no way to remotely
 connect to the computer so any suggestions involving that probably won't
 help.
 
 Anyway, after the success I've had with answers from the group so far, I
 expect it won't take long to lick this problem as well...

I *think* the context menus are managed by the wm, so you might need
to set up KDE *before* you can get them.

Once you get KDE in, if you still don't get mouse clicks working,
check your mouse config section in xorg.conf.  The docs in
/usr/X11R6/lib/X11/doc/README.mouse should be pretty thorough.

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

Boucher's Observation:
  He who blows his own horn always plays the music
  several octaves higher than originally written.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Safe to just rebuild kernel after cvsuping src?

2004-12-14 Thread Robert Huff

Charles Ulrich writes:

  As a general rule, this is _never_ safe.  Unless you're
   prepared to locate and understand all the changes - just bite the
   bullet and make world.
  (This is not to say you can't do it and have it work - been
   there, done that - but you're definitely increasing the odds of a
   problem.)
  
  I've been doing the opposite on some of my machines which run
  stable releases of FreeBSD. Is it relatively safe to build and
  install a slightly newer world without rebuilding the kernel?

Were I to want to do this, I would (after updating the sources):

1) read /usr/src/UPDATING.  If there is an entry that requires
it (e,g, 20041102) or even implies it; then rebuild world.
2) following the directions in the Handbook rebuild the kernel
only.  Capture the output, and look for any complaints about missing
symbols, etc.
3) Save the old kernel/kernel directory into a dated space.
The install kernel target will save a copy ... but that gets
overwritten if you have to build/again.
4) (optional) sacrifice black chicken to deity of choice (if
any).
5) install new kernel and reboot.  If sucessful, run
mergemaster and reboot.
6) Test all first and second tier system functions and user
applications.  For this purpose, method of updating source code is
a first-tier application.


Robert Huff


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


Re: ppp(8) and dhclient(8)

2004-12-14 Thread Chuck Swiger
Andrew P. wrote:
I have a FreeBSD-4.10 host in my network. It's interface is 
DHCP-configured with a local ip-address, a dns server and a default 
route. The network is not connected to Internet, so the dns server 
resolves only local names and the default router only routes local 
packets. The host sometimes connects to internet via PPPoE. It receives 
new dns server and default route via IPCP.

The problem is that the new pair of dns/route seems to conflict with the 
old one.

DNS. I put enable dns and resolv writable in ppp.conf, ppp updates 
resolv.conf, but dhclient rewrites it in some seconds, leaving only 
local dns server in it.
You want to change the make_resolv_conf() function in /sbin/dhclient-script.
ROUTER. Default route is configured at startup by dhclient. add default 
HISADDR in ppp.conf will result in error and will not change the route. 
So we can type add! default HISADDR or delete the route first with 
delete default. But when ppp disconnects there's no more default route 
and local packets do not get routed.
You should describe your local network topology using a static route rather 
than a default route, so that you can add and delete a default route via ppp 
without breaking anything.  Add something like this to /etc/rc.conf:

static_routes=local
route_local=-net 192.168.2.0/24 192.168.1.1
...assuming your local network has both a 192.168.1.x and a 192.168.2.y 
subnets, and 192.168.1.1 is a gateway which can get to both networks.

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


disk I/O slower then linux?

2004-12-14 Thread Rae Kim
I've recently changed to FreeBSD 5.3 from Gentoo linux.

It looks like FreeBSD outperforms gentoo.

I feel 'some' KDE applications runs at least 3 times faster on
FreeBSD. ( gentoo was even prelinked)

However, Disk IO seems too slow compare to linux.

What makes FreeBSD so fast? Why is disk io slower? How can I make it faster?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ppp(8) and dhclient(8)

2004-12-14 Thread Andrew P.
Hello!
I have a FreeBSD-4.10 host in my network. It's interface is 
DHCP-configured with a local ip-address, a dns server and a default 
route. The network is not connected to Internet, so the dns server 
resolves only local names and the default router only routes local 
packets. The host sometimes connects to internet via PPPoE. It receives 
new dns server and default route via IPCP.

The problem is that the new pair of dns/route seems to conflict with the 
old one.

DNS. I put enable dns and resolv writable in ppp.conf, ppp updates 
resolv.conf, but dhclient rewrites it in some seconds, leaving only 
local dns server in it.

ROUTER. Default route is configured at startup by dhclient. add default 
HISADDR in ppp.conf will result in error and will not change the route. 
So we can type add! default HISADDR or delete the route first with 
delete default. But when ppp disconnects there's no more default route 
and local packets do not get routed.

I see possible workarounds somewhere around hacking dhclient-script, 
using multiple default routes with different metrics, or writing some 
own periodic scripts.

Is there an easy way to solve my problem?
Best wishes,
Andrew P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ld-elf.so.1: Shared objectlibintl.so.6 not found

2004-12-14 Thread Andrew P.
I got this at startup:
Dec 11 03:32:42 satbsd /kernel:
  Starting ppp as root
Dec 11 03:32:42 satbsd /kernel:
  /usr/libexec/ld-elf.so.1:
Dec 11 03:32:42 satbsd /kernel:
  Shared object libintl.so.6 not found
libintl is in /usr/local/lib, but ppp is
started before this:
Dec 11 03:32:43 satbsd /kernel:
  ELF ldconfig path: /usr/lib /usr/lib/
  compat /usr/X11R6/lib /usr/local/lib
So I copied libintl to /usr/lib and
I got error no more. But I still have a
question: how come ld-elf.so.1 was
looking in the wrong place? I've got
a newly cvsupped and fully rebuilt system.
(RELENG_4_10).
The real question you should be asking is why does ppp (a system
binary) depend on libintl (not a system library)?  You've probably
replaced your ppp(8) with something else, with poor consequences. 
Can you tell me how to figure that out? I started to get this
error a few weeks ago, after I did portupgrade -a. I always look
at UPDATING, but I didn't find anything related to my problem.
I got this on two different FreeBSD-4.10 systems, one of which
does not have many ports:
bash-3.0.13
cups-base-1.1.20.0
expat-1.95.8
gettext-0.13.1_1
glib-2.4.8
gmake-3.80_2
jpeg-6b_2
libiconv-1.9.2_1
libslang-1.4.9
libtool-1.3.5_2
libtool-1.5.10
lynx-2.8.5
mc-4.6.0_13
openldap-client-2.2.17
p5-File-Spec-0.86
p5-File-Temp-0.14_1
p5-PodParser-1.28_1
p5-Test-Harness-2.42
p5-Test-Simple-0.47_1
perl-5.8.5
pkgconfig-0.15.0_1
png-1.2.5_3
popt-1.7
rc_subr-1.31
samba-3.0.7,1
tiff-3.6.1_1
I'm not an advanced user, so I haven't hacked into anything
or tuned anything to my taste. Can you tell me where should
I look or what should I read?
Thanks,
Andrew P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Xorg and mouse....

2004-12-14 Thread Bomgardner,Jon

 -Original Message-
 From: Dan Kilbourne [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 14, 2004 12:10 PM
 To: Bomgardner,Jon
 Subject: Re: Xorg and mouse
 
 Just create it in your home directory - do you use xdm/kdm or startx
to
 start X up?
 
 


Actually, I've just been typing Xorg.  When I type startx, it attempts
to start XFree instead which dies rather rudely. I'm currently trying to
set up xdm but haven't had much luck. As for kdm I don't know what
it is except to guess that it's related to KDE which won't get installed
till this evening (after I get VESA going by recompiling my kernel).

I did create .xsession in my home directory but Xorg doesn't seem to
notice. The file only has one line:

twm

I'll let you know how things go after tonight  

Thanks for the help,
Jon.


==
This communication, together with any attachments hereto or links contained 
herein, is for the sole use of the intended recipient(s) and may contain 
information that is confidential or legally protected. If you are not the 
intended recipient, you are hereby notified that any review, disclosure, 
copying, dissemination, distribution or use of this communication is STRICTLY 
PROHIBITED.  If you have received this communication in error, please notify 
the sender immediately by return e-mail message and delete the original and all 
copies of the communication, along with any attachments hereto or links herein, 
from your system.

==
The St. Paul Travelers e-mail system made this annotation on 12/14/2004, 
01:17:32 PM.


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


cron not running job

2004-12-14 Thread Andy Clements
Hello All,
I'm having problems getting my freshly update FreeBSD 5.3 system to run 
my cron jobs.  Logged in as root, I enter the job in root's crontab with 
the following command

crontab -e
I enter the job in the following format:
05  10  *   *   *   /root/cronjobs/cvs-sup.sh
The script has the following permissions:
-rwxr-xr-x  1 root  wheel  255 Dec 13 10:39 cvs-sup.sh
I can run the script as root with no errors.  I look in the 
/var/log/cron log and I don't see any attempt by cron to run the job.  
There is no error either.There are entries for the edit of the crontab:

Dec 14 10:03:36 bukowski crontab[632]: (root) BEGIN EDIT (root)
Dec 14 10:03:45 bukowski crontab[632]: (root) REPLACE (root)
Dec 14 10:03:45 bukowski crontab[632]: (root) END EDIT (root)
Dec 14 11:04:00 bukowski /usr/sbin/cron[405]: (root) RELOAD (tabs/root)
But nothing else. So, I'm at a lost.  I have the understanding that cron 
should immediately recognize any changes to the file, but it doesn't 
seem to be working.  I even re-booted in desperation.  Did I forget some 
small tid-bit that needs to change for this to work?  I've checked the 
Handbook, the FAQ, Google and the mailing list, but I haven't seen any 
solutions.

Please CC me with your answer as I am not on the mailing list.
Thanks in advance,
Andy Clements
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disk I/O slower then linux?

2004-12-14 Thread Rae Kim
I use 40GB hard
with 
ad0s1 Windows XP 14GB
ad0s2 FAT3210GB
rest of partistions are set  automatically by installer.(1GB swap)
and softupdates is enabled

anyways, it looks like a problem of 5.3 release.

On Tue, 14 Dec 2004 13:23:31 -0500, Alexander Chamandy
[EMAIL PROTECTED] wrote:
 It looks like this is a problem unique to 5.3:
 
 See 
 http://lists.freebsd.org/pipermail/freebsd-current/2004-October/041009.html
 
 May I ask how your partitions are laid out?
 
 Are you running with softupdates enabled on your filesystems?
 
 
 On Tue, 14 Dec 2004 13:03:48 -0500, Rae Kim [EMAIL PROTECTED] wrote:
  I've recently changed to FreeBSD 5.3 from Gentoo linux.
 
  It looks like FreeBSD outperforms gentoo.
 
  I feel 'some' KDE applications runs at least 3 times faster on
  FreeBSD. ( gentoo was even prelinked)
 
  However, Disk IO seems too slow compare to linux.
 
  What makes FreeBSD so fast? Why is disk io slower? How can I make it faster?
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 --
 Best wishes,
 
 Alexander G. Chamandy
 Webmaster
 www.bsdfreak.org
 Your Source For BSD News!
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: disk I/O slower then linux?

2004-12-14 Thread Alexander Chamandy
Browse this thread:

http://lists.freebsd.org/pipermail/freebsd-current/2004-October/thread.html#40671

Are you using the same mainboard?  There's a lot of good advice given
in that thread.  A couple of things I would suggest is try to tweak
your kernel if you're running a generic binary that may decrease your
performance a bit.  If you *are* using the same mainboard it may be an
issue of an unreliable storage controller.  See if your BIOS is up to
date and also paste a dmesg to the list and put in any more hardware
specifications you can for good measure.



On Tue, 14 Dec 2004 13:27:57 -0500, Rae Kim [EMAIL PROTECTED] wrote:
 I use 40GB hard
 with
 ad0s1 Windows XP 14GB
 ad0s2 FAT3210GB
 rest of partistions are set  automatically by installer.(1GB swap)
 and softupdates is enabled
 
 anyways, it looks like a problem of 5.3 release.
 
 On Tue, 14 Dec 2004 13:23:31 -0500, Alexander Chamandy
 [EMAIL PROTECTED] wrote:
  It looks like this is a problem unique to 5.3:
 
  See 
  http://lists.freebsd.org/pipermail/freebsd-current/2004-October/041009.html
 
  May I ask how your partitions are laid out?
 
  Are you running with softupdates enabled on your filesystems?
 
 
  On Tue, 14 Dec 2004 13:03:48 -0500, Rae Kim [EMAIL PROTECTED] wrote:
   I've recently changed to FreeBSD 5.3 from Gentoo linux.
  
   It looks like FreeBSD outperforms gentoo.
  
   I feel 'some' KDE applications runs at least 3 times faster on
   FreeBSD. ( gentoo was even prelinked)
  
   However, Disk IO seems too slow compare to linux.
  
   What makes FreeBSD so fast? Why is disk io slower? How can I make it 
   faster?
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
  --
  Best wishes,
 
  Alexander G. Chamandy
  Webmaster
  www.bsdfreak.org
  Your Source For BSD News!
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 


-- 
Best wishes,

Alexander G. Chamandy
Webmaster
www.bsdfreak.org
Your Source For BSD News!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: web-based password checking tool?

2004-12-14 Thread Jon Krause
Usermin (found from the same link) is probably a better tool, less security
concerns.  Also, both can be run with ssl and non-standard ports.

Best, Jon

- Original Message - 
From: Alexander Chamandy [EMAIL PROTECTED]
Subject: Re: web-based password checking tool?


: The solution I've seen people use in the past is Webmin
: (http://www.webmin.com/), but I haven't heard great things about its
: security.  I would use it cautiously if you are looking for that
: functionality.  The problem I'd note is that in order to attain
: convenience in the traditional sense, one must generally sacrifice
: layers of security.  In this case, allowing a web interface to change
: users' authentication credentials provides risks (compromise,
: information leakage, etc.) and rewards (enhanced usability for novice
: users, added convenience).
: - Hide quoted text -
:
:
: On Tue, 14 Dec 2004 15:41:07 -0300 (ART), Fernando Gleiser
: [EMAIL PROTECTED] wrote:
:  I have a FreeBSD box with more then 400 accounts. the users are
:  non-technical, administrative kind of persons.
: 
:  The box is working as a mail server, with sendmail as MTA and cyrus
IMAPd,
:  authenticating against the system files (/etc/master.passwd) not using
:  SASL.
: 
:  I need a web based tool to let the users change their passwords, since
:  they don't have shell access, a web-based solution seems like the
:  only way to let them do it without bothering the admins.
:
:
: -- 
: Best wishes,
:
: Alexander G. Chamandy
: Webmaster
: www.bsdfreak.org
: Your Source For BSD News!
: ___
: [EMAIL PROTECTED] mailing list
: http://lists.freebsd.org/mailman/listinfo/freebsd-questions
: To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: Having trouble locating driver for the embedded ethernet controller on Epox 8RD+ Pro with Nforce2 Ultra Chipset

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 13:22:03 -0600, Joshua Lokken
[EMAIL PROTECTED] wrote:
 On Tue, 14 Dec 2004 13:23:00 +0200, Bozhidar Batsov
 [EMAIL PROTECTED] wrote:
  Can you help me with a solution for my problem? I'm pretty sure there
  are no native drivers for that ethernet adapter and I should use the
  windows compatibility layer. But I cannot find the ethernet driver
  distributed stand-alone apart from the entire nforce 2 driver package .
  Any suggestions?
 
 Install the entire nforce 2 driver package.

/usr/ports/net/nvnet


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


Re: cpu temperature

2004-12-14 Thread Lukasz Bigo
On Tue, 14 Dec 2004 22:19:24 +0800
Spades [EMAIL PROTECTED] wrote:

 is there a program to check the cpu's temperature
 for 4.10-stable? the machine is in remote and
 i hope to monitor the cpu/system temperature stats
 via ssh.

You could try /usr/ports/sysutils/healthd. I can also send You a small
PHP script which grabs some ACPI values using sysctl to draw a
thermomether (Apache+PHP+GD required), so You could check the CPU
temperature with Your browser. :)

 
 thanks,
 -- bryan
 ___


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


Re: OpenOffice - Java problems

2004-12-14 Thread Dave Horsfall
On Tue, 14 Dec 2004, Tabor Kelly wrote:

 How I got Openoffice 1.1.3 to compile on my laptop:
 
 portinstall java/jdk14
 portinstall openoffice
 
 note: 'portinstall java/jdk14' installs the natively compiled FreeBSD version
 of Java, and as a dependency (for the build only) installs the linux JDK.

Many thanks - I'll give that a go tonight (too many late nights lately).  I
knew I got it to work in the past, but couldn't remember how.

 PS- Yes, this does mean the port is broken.

I was starting to suspect that :-(

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


Re: web-based password checking tool?

2004-12-14 Thread Joshua Lokken
On Tue, 14 Dec 2004 14:04:44 -0500, Alexander Chamandy
[EMAIL PROTECTED] wrote:
 In that case, check out something like:
 http://rucus.ru.ac.za/~bvi/utils/webpass/
 
 Web Pass is a CGI script which allows users on a system to change
 their passwords via the web. This is useful for users with no shell
 access to the machine, but who still have 'real' accounts for things
 such as web space, ftp Samba and the like.
 
 I hope this helps!
 
 On Tue, 14 Dec 2004 16:02:46 -0300 (ART), Fernando Gleiser
 [EMAIL PROTECTED] wrote:
  On Tue, 14 Dec 2004, Alexander Chamandy wrote:
 
   The solution I've seen people use in the past is Webmin
   (http://www.webmin.com/), but I haven't heard great things about its
   security.  I would use it cautiously if you are looking for that
   functionality.
  
  Webmin is a different thing. it allows for web-based administration,
  it isn't useful as a tool for users to change their passwords.
  In order to use webmin for that, I'd have to add a webmin user for
  every mail user and restrict the module set. It is just not worth it.
 
  I'm looking for something like some ISPs do: a form where you enter
  your username, your old password and your new one (twice, for confirmation).
 
  I think I can hack a quick CGI script which does that, then checks the
  parameters, and if everything is OK, hashes the new passwd and calls
  something like
  echo ecnryptedpass | sudo pw usermod user -H 1
 
  or something like that. But I prefer to use already made and tested
  solutions.
 
 
   The problem I'd note is that in order to attain
   convenience in the traditional sense, one must generally sacrifice
   layers of security.  In this case, allowing a web interface to change
   users' authentication credentials provides risks (compromise,
   information leakage, etc.) and rewards (enhanced usability for novice
   users, added convenience).
  
  Exactly. But I think in this case is justified. We're talking about
  people who are not technical. It's the only way.


Alexander, please do not top-post.
http://www.html-faq.com/etiquette/?toppost

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


Re: Safe to just rebuild kernel after cvsuping src?

2004-12-14 Thread Kevin D. Kinsey, DaleCo, S.P.
Charles Ulrich wrote:
Robert Huff said:
 

Nikolas Britton writes:
   

Is it generally safe to just rebuild the kernel, and not make
world, when your only tracking a release and not -STABLE,
i.g. setting cvsup to track RELENG_5_3?
 

	As a general rule, this is _never_ safe.  Unless you're
prepared to locate and understand all the changes - just bite the
bullet and make world.
	(This is not to say you can't do it and have it work - been
there, done that - but you're definitely increasing the odds of a
problem.)
   

I've been doing the opposite on some of my machines which run stable releases
of FreeBSD. Is it relatively safe to build and install a slightly newer world
without rebuilding the kernel?
 

It's really a question for the programmers, and it's
likely that whatever they say will include a lot of
disclaimers and warnings.
I once got kernel and world a lil' out of sync, and
had things running apparently normally.  However,
top(1) broken; when I asked the list what was up,
someone else with experience was able to determine
the problem immediately.
In short, it's probably not a good idea unless one
can determine that relatively nothing has changed
in the source since the other part (kernel or world)
was built.  Looking at CVS, you don't see much
completely idle time.  And, unless you are aware
of every bit of code that might have changed, it's
impossible (for me, Joe Average) to know what might
break 
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4 install has conflicts

2004-12-14 Thread Noah
On Tue, 14 Dec 2004 14:52:53 -0800, Derrick Ryalls wrote
  what is the cleanest way to get PHP4 installed here?  There are a lot of
  programs that have dependancies on mod_php4.  how do I update all those
  dependancies to the latest version of mod_php4?  and then how do I cleanly
  remove all those older versions of mod_php4?
  
  --- snip ---
  
  # make install clean
  ===  Installing for php4-4.3.9_1
  
  ===  php4-4.3.9_1 conflicts with installed package(s):
   mod_php4-4.3.5_7,1
   mod_php4-4.3.6_1,1
   mod_php4-4.3.8_2,1
   mod_php4-4.3.9_1,1
  
   They install files into the same place.
   Please remove them first with pkg_delete(1).
  *** Error code 1
  
  Stop in /usr/ports/lang/php4.
 
 
 I recommend trying portupgrade (with the -N flag I believe)

I think I am following you correctly here?

--- snip ---

# portupgrade -N mod_php4-4.3.9_1,1
# make install clean
===  Installing for php4-4.3.9_1

===  php4-4.3.9_1 conflicts with installed package(s): 
  mod_php4-4.3.5_7,1
  mod_php4-4.3.6_1,1
  mod_php4-4.3.8_2,1
  mod_php4-4.3.9_1,1

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/php4.

--- snip ---


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

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


5.3-RELEASE-i386-disc2.iso

2004-12-14 Thread Jerry Hoover
I downloaded all 4 iso's and I have used Nero 5.5.9.9 to burn them to CD
EXCEPT 5.3-RELEASE-i386-disc2.iso  The checksums all worked out.
5.3-RELEASE-i386-disc2.iso continues to lock up Nero, the others didn't.
Any ideas?  BTW:  I have downloaded that 1 file twice from 2 differant sites,
Same results.  Just that 1 fileHELP!
 
And what is the differance between  bootonly.iso and miniinst.iso?
 
I have never had FreeBSD/Unix/Linux before, I am just trying to learn.
 
Thanks.  Jerry Hoover


-
Do you Yahoo!?
 Send a seasonal email greeting and help others. Do good.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hylafax Help

2004-12-14 Thread Alvaro Rosales
Hello  guys is there any hylafax hpwto for freebsd?.
Greetings.
Alvaro R
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >