The FreeBSD Diary: 2003-07-27 - 2003-08-16

2003-08-17 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source

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


Re: FreeBSD and Sound

2003-08-17 Thread David
The sb0 and opl0 started showing up after I recompiled the kernel with
device pcm as the only entry regarding sound.
pcm nor pcm0 show up in dmesg.

# grep pcm /var/run/dmesg.boot
#

Here is what is in the kernel:

# For Sound
device  pcm

#For BrookTree 878 Capture Device
device  bktr

Here is what is listed in dmesg:

sb0 at port 0x220 irq 5 drq 1 on isa0
snd0: SoundBlaster Pro 3.1
sb0: driver is using old-style compatability shims
opl0 at port 0x388 on isa0
snd0: Yamaha OPL3 FM
WARNING: snd is usurping snd's cdevsw[]
opl0: driver is using old-style compatability shims


How can I get FBSD to only see opl0 and is the WARNING: anything to be
concerned with.

Thanks again,
David


- Original Message - 
From: Essetee [EMAIL PROTECTED]
To: David [EMAIL PROTECTED]
Sent: Friday, August 15, 2003 1:41 AM
Subject: Re: FreeBSD and Sound


 David wrote:

 I tried adding a driver for my onboard-soundcard Yamaha OPL-3-SAx on
P200mmx, FreeBSD 4.7-Release.
 
 After reading the manual, I put these 2 entries in MYKERNEL:
 (copied from LINT):
 
  device opl0 at isa? port 0x388
  device pcm
 
 Rebuilt the kernel with:
 
  config MYKERNEL
  cd ../../compile/MYKERNEL
  make depend
  make
 
 Now I get this error message after the make command:
 
 
 Linking kernel
  isa_compat.o(.data+0x4): undefined reference to `opldriver'
  *** Error code 1
 
  Stop in /usr/src/sys/compile/MYKERNEL.
 
 Any ideas on how to fix?
 Any good references to getting sound  going would be greatly appreciated.
 
 Thanks,
 David
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 
 
 

 device opl0 at isa? port 0x388

 You don't need that, that's only voor isa boards.

 Only device pcm will work fine.



 -- 
 Essetee -- Roeselare -- Belgium
 URL : http://www.essetee.be
 MSN : [EMAIL PROTECTED]
 FreeBSD Operating System





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


Need route add default 192.xxx after every reboot

2003-08-17 Thread Joachim Dagerot
I need to add a default route everytime I reboot.

Where are these settings stored, what can I do to get the default route
added automatically at a boot?

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


Re: shutting down

2003-08-17 Thread Shantanu Mahajan
+-- [EMAIL PROTECTED] [freebsd] [16-08-03 14:40 -0400]:
| I used
|  shutdown -h now
| but the comp I use won't let me power off no matter how many times i hit
| the power switch, what do I do?

try
# halt

what is the last message you see?
I do have a ATX mobo, and it works perfectly fine
with halt. will check 'shutdown -h now' and let you
know.

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


Submit new PR or Submit to an existing PR?

2003-08-17 Thread K Anderson
Hey folks,

Since I didn't get a response asking about the module already existing 
problem with miibus and if_ed I went and checked for a PR and found what 
that pretty much matches my problem. It is Problem Report kern/55279.

I would like to know if I should either submit a new PR or click on the 
old submit follow-up link?

Here's my reasoning to want to do the follow-up link:
I recently cvsup'd and rebuilt my diskless kernel which was also 
displaying at least the problem with miibus module existing error. But 
for some strange reason it stopped and now only the server complains 
about miibus and if_ed. Since both kernels where built on the same 
maching  use the same everything (with the exception of the diskless 
kernel runs on systems to be diskless workstations) with the exception 
of hardware (they do share the same libraries modules and what ever else 
clone_root copies). Of course miibus being the culprit here.

OR

Should I submit a whole new PR with the contents of both kernel 
configuration files?

Thanks for your advice. Hopefully one way or the other I can get my 
kernel configurations to the hands of those that need them and they can 
determine why the sudden change.

On a different note. Somebody foobarred the rl driver to where it shows 
it is working but is more or less inoperable (ethereal was telling me it 
was receving invalid packets over the rl interface) I put my old kernel 
back and the rl interface is back to normal. Do you think this warrents 
a PR? Oh, and for giggles I rebuilt the kernel several times just to 
make sure it wasn't something funky.

TIA

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


Re: Sendmail address rewriting

2003-08-17 Thread Matthew Seaman
On Sat, Aug 16, 2003 at 05:38:17PM -0700, Doug Hardie wrote:
 I have what is most likely a simple misunderstanding of the sendmail.cf 
 file configuration.  But, nothing I have tried works.  Basically I have 
 one machine (zoon) which is the mail host for all received mail.  All 
 user mailboxes are on that machine and it is the host identified in the 
 MX records.  I have the send mail server on zoot.  When a message is 
 sent out without a domain in the to address, zoot is filling it in with 
 zoot.lafn.org which makes the reply functions useless.  Zoot does not 
 accept incoming mail.  How do I get zoot's sendmail to use the domain 
 lafn.org in these cases?

Hmmm... How exactly are you sending the test e-mails?  There are two
circumstances where the masquerading setup you've configured below
won't be applied:

   i) Messages sent by root or any other user in class {E} -- however,
  you've already put root into class {L} -- local users, so you
  wouldn't use that account for testing masquerading anyhow.

  ii) Unqualified names (ie. without an @... part) given as the 'From'
  address.  Try adding:

FEATURE(`always_add_domain')dnl

  mail(1) just uses your login ID as the originating address, and
  it expects the local MTA to fill in any missing information.
  Other mailers generally have options to let you choose the
  e-mail address you use to send from.  However, sendmail will
  generally qualify any names with the local domain when relaying
  to another machine.

Aha! You're using LOCAL_RELAY --- try changing that to MAIL_HUB.  You
may or may not need 'always_add_domain' with that -- you'll have to
experiment a bit.
 
 Here is zoot's mc file
 
 
 VERSIONID(`$Id: ZOOT.mc,v 1.1 2000/05/31 22:21:02 gshapiro Exp $')
 OSTYPE(bsd4.4)dnl
 DOMAIN(generic)dnl
 
 dnl set SASL options
 TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
 define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
 define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl
 
 MASQUERADE_AS(`lafn.org')dnl
 MASQUERADE_DOMAIN(`lafn.org')dnl
 FEATURE(`masquerade_entire_domain')dnl
 FEATURE(`masquerade_envelope')dnl
 FEATURE(`relay_entire_domain')dnl
 
 FEATURE(`access_db', `hash -TTMPF /etc/mail/access')dnl
 FEATURE(`virtusertable', `hash -TTMPF /etc/mail/virtusers')dnl
 FEATURE(`delay_checks', `friend')dnl
 FEATURE(`no_default_msa')dnl
 FEATURE(`use_ct_file')dnl
 define(`confBIND_OPTS', `WorkAroundBroken')dnl
 define(`confTO_QUEUERETURN',`3d')dnl
 define(`confTO_QUEUEWARN',`5d')dnl
 define(`LOCAL_RELAY',`mail.lafn.org')dnl
 LOCAL_USER(`root')dnl
 
 MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl
 
 MAILER(local)dnl
 MAILER(smtp)dnl

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: xterm: colors and keys

2003-08-17 Thread Matthew Seaman
On Sat, Aug 16, 2003 at 10:34:51PM -0300, fallenbr wrote:
 Hello,
 
 1 - How can I set color on xterm? I've tried creating a .Xdefaults with 
 XTerm*termName: xterm-color on it, but nothing really changed.

Make that:

xterm*termName:   xterm-color

and make sure that your .Xdefaults is actually being read: you need to run:

xrdb -merge ${HOME}/.Xdefaults

somewhere in your .xsession or .xinitrc.  You can tell if your setting
are being picked up by running:

xrdb -query xterm

Most commands won't give you coloured output by default.  Try 'ls -G'
to see if you have succeeded in making the colourization work.
 
 2 - I'm not being able to use the Page down and Page up keys when browsing the 
 man pages. All I get is a beep and ESC[ output. This is strange, because I don't 
 recall having this problem before. What could be wrong?
 

Sounds like you've either completely mucked up your terminal settings
or been playing incautiously with lesskey(1) or you've maybe set the
environment variable $LESS (or some other less-related part of the
environment as detailed in less(1), lesskey(1), man(1)) with some
options that make less(1) less capable.

In the first case, typing 'reset' or logging out and logging back in
again should restore things to normality.  In the second case, check
for files ${HOME}/.lesskey and ${HOME}/.less -- if you move these to
other names or delete them, less should go back to the default
behaviour.  In the third case, well don't meddle with the environment
unless you understand what you're doing with it.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Need route add default 192.xxx after every reboot

2003-08-17 Thread Matthew Seaman
On Sun, Aug 17, 2003 at 10:26:52AM +0200, Joachim Dagerot wrote:
 I need to add a default route everytime I reboot.
 
 Where are these settings stored, what can I do to get the default route
 added automatically at a boot?

Such settings are all in /etc/rc.conf.  In particular you need to look
at setting 'defaultrouter' to the IP number of your default gateway.

Cheers,

Matthew 

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


pgp0.pgp
Description: PGP signature


Re: Installing FreeBSD

2003-08-17 Thread Benjamin Walkenhorst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Samstag, 16. August 2003 09:57 Alastair G. Hogge wrote:
  And what filesystem does FreeBSD use?

 I believe it's Berkeley Fast File System. or Unix File System 2(not sure
 someone might correct me)...or a combition of the two..?

The Filesystem was created at Berkeley and called Berkeley Fast Filesystem, 
but commercial Unix-vendors adopted it and called it Unix Filesystem (UFS). 
But it is basically the same filesystem, I understand (Linux uses the same 
driver to read both, though you gotta specify some mount parameters).

Kind regards,

Benjamin

- --
Benjamin Walkenhorst
eMail: [EMAIL PROTECTED]
homepage: http://www.krylon.de


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE/PoIOoYumWdMvhMQRAvn4AJ9PIoPCfsG7v01Tp4I/vbVtSg9D/ACeLi8w
zCR25OrBh0OQ2a/ZrnPdiuw=
=Purv
-END PGP SIGNATURE-

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


Re: mouse with scroll....

2003-08-17 Thread Benjamin Walkenhorst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

On Sonntag, 17. August 2003 01:52 Joshua Oreman wrote:
 On Sun, Aug 17, 2003 at 03:31:40AM +0400 or thereabouts, Denis wrote:
  Hi All!!!
 
Does anybody know how in freebsd use mouse with 3 button and one
scroll?

 --snip /etc/XF86Config (or /etc/X11/XF86Config)--
 Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol ImPS/2
 #   you need this
 # ...
   Option  Buttons 3
 # and this  ^
   Option  ZAxisMapping 4 5
 # and this  
 EndSection
 --snip--

Don't you need to enter a device-file as well?
My XF86Config contains a line 
- ---
Option  Device/dev/sysmouse
- ---
To get the mouse wheel working, I have to change that line, too, don't I? 
What do I have to put there? /dev/psm0?

 -- Josh

Thanks in advance,

kind regards,

Benjamin

- -- 
Benjamin Walkenhorst
eMail: [EMAIL PROTECTED]
homepage: http://www.krylon.de
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE/P1rMoYumWdMvhMQRArb/AKCOih/3tIRWDv++WHzwHG9OpuecUwCdHZq6
UYEUa42vVRVwlx2spcaLvIY=
=hIl7
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SLRN in a gnome-terminal issue

2003-08-17 Thread Nicholas Wieland
Hi,
  I'm experiencing a very strange issue with Slrn and Gnome-Terminal
2.2.2.
I'm used to have an icon on a gnome-panel that simply launch Slrn inside
a Gnome-Terminal, but I can't make it work ...
I can see a window flash up and disappear immediately.
If I open a Gnome-Terminal and start Slrn normally everything goes fine,
I've tried to start Slrn with --debug filename but 'filename' is empty,
I've tried 'ps ax|grep slrn' and I don't have any other Slrn process
running.
With the same method (icon on gnome-panel) Mutt works fine.
Ideas ?
I hope this is the right ML for such questions, if not.. well,  sorry ... :)

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


Re: xterm: colors and keys

2003-08-17 Thread Nicholas Wieland
On Sat, Aug 16, 2003 at 10:34:51PM -0300, fallenbr wrote:
 1 - How can I set color on xterm? I've tried creating a .Xdefaults with 
 XTerm*termName: xterm-color on it, but nothing really changed.

[EMAIL PROTECTED] nicholas]$ echo $TERM
xterm-color
[EMAIL PROTECTED] nicholas]$ less /etc/profile
[...]
export TERM=xterm-color
[...]

If you don't want system-wide settings you can use yor $HOME/.profile

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


permission in apache

2003-08-17 Thread GNorm
I have installed apache and got it to run, however when I tried to 
access a web address that I have set for virtual hosting I get the 
following message:

Forbidden
You don't have permission to access / on this server.
I assume this error is the results of the permission on the directory 
containing web content. I have looked at the permissions for the default 
web directory and tried those settings, the default site works, the 
virtual sites do not.
As always, any help will be appreciated.

Thanks Lowell, for your help I was able to get the invalid error cleared 
up.

Gregory Norman



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


stupid question

2003-08-17 Thread Eugene Vinokurov
'chmod -R o+w /' had been done on filesystem
reinstall is impossible 
chmod -R o-w / , chmod o-w /, and chmod o+w /tmp /var/tmp seem to help
What problems I have to expect ?
Is there any way to restore default permissions for system directories?
Maybe I have to check something?
Please, help

services working: sendmail, apache, mysql, proftp

p.s. sorry for my poor English
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: permission in apache

2003-08-17 Thread Mike Maltese
This shouldn't have anything to do with UNIX permissions. You'll get this
error (403) if there is no document by the name specified in the
DirectoryIndex directive (defualt is index.html) and the directory does not
have the Indexes option (display directory contents). So either create
index.html in that directory, or add Indexes to the Options for that
directory to view the list of files. These options can be set on a per-vhost
basis.

Example:

#This can be a list of files
DirectoryIndex index.html index.htm index.shtml index.php

VirtualHost 65.185.135.149

ServerName foo.bar.com
DocumentRoot /usr/local/www/vhost

# This is whatever your root directory is.
Directory /usr/local/www/vhost
AllowOverride None
Options Indexes
Order allow,deny
Allow from all
/Directory

/VirtualHost


- Original Message - 
From: GNorm [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 17, 2003 4:19 AM
Subject: permission in apache


 I have installed apache and got it to run, however when I tried to
 access a web address that I have set for virtual hosting I get the
 following message:

 Forbidden
 You don't have permission to access / on this server.

 I assume this error is the results of the permission on the directory
 containing web content. I have looked at the permissions for the default
 web directory and tried those settings, the default site works, the
 virtual sites do not.
 As always, any help will be appreciated.

 Thanks Lowell, for your help I was able to get the invalid error cleared
 up.

 Gregory Norman



 ___
 [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: permission

2003-08-17 Thread Louis LeBlanc
On 08/16/03 06:18 PM, GNorm sat at the `puter and typed:
 I have installed apache and got it to run, however when I tried to 
 access a web address that I have set for virtual hosting I get the 
 following message:
 
 Forbidden
 You don't have permission to access / on this server.
 
 I assume this error is the results of the permission on the directory 
 containing web content. I have looked at the permissions for the default 
 web directory and tried those settings, the default site works, the 
 virtual sites do not.
 As always, any help will be appreciated.
 
 Thanks Lowell, for your help I was able to get the invalid error cleared 
 up.
 
 Gregory Norman

Make sure the files themselves have the same permissions.

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

A light wife doth make a heavy husband.
-- Wm. Shakespeare, The Merchant of Venice
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mouse with scroll....

2003-08-17 Thread Malcolm Kay
On Sun, 17 Aug 2003 20:07, Benjamin Walkenhorst wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello,

 On Sonntag, 17. August 2003 01:52 Joshua Oreman wrote:
  On Sun, Aug 17, 2003 at 03:31:40AM +0400 or thereabouts, Denis wrote:
   Hi All!!!
  
 Does anybody know how in freebsd use mouse with 3 button and one
 scroll?
 
  --snip /etc/XF86Config (or /etc/X11/XF86Config)--
  Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol ImPS/2
  #   you need this
  # ...
  Option  Buttons 3
  # and this  ^
  Option  ZAxisMapping 4 5
  # and this  
  EndSection
  --snip--

 Don't you need to enter a device-file as well?
 My XF86Config contains a line
 - ---
 OptionDevice/dev/sysmouse
 - ---
 To get the mouse wheel working, I have to change that line, too, don't I?
 What do I have to put there? /dev/psm0?


I believe the most reliable method for ps/2 mouse in FreeBSD is to run 
'moused'. Add to /etc/rc.conf:
  moused_enable=YES 
  moused_port=/dev/psm0
  moused_type=auto
Then XF86Config one needs to declare the two virtual buttons for scrolling in 
the button count:
   Options buttons 5
   Options ZAxisMapping 4 5
   Options Device /dev/sysmouse
   Options Protocol auto

This way the mouse works in console mode via 'moused' and X reads mouse
via pseudo device /dev/sysmouse supported by 'moused'.

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


Re: permission in apache

2003-08-17 Thread Jez Hancock
On Sun, Aug 17, 2003 at 05:29:11AM -0700, Mike Maltese wrote:
 This shouldn't have anything to do with UNIX permissions. You'll get this
 error (403) if there is no document by the name specified in the
 DirectoryIndex directive (defualt is index.html) and the directory does not
 have the Indexes option (display directory contents). So either create
 index.html in that directory, or add Indexes to the Options for that
 directory to view the list of files. These options can be set on a per-vhost
 basis.
A 403 error would occur if a DirectoryIndex file exists (index.html say)
and permissions on that file in the DocumentRoot were such that it can't
be accessed by the apache user.

Further it could be the case that permissions on the file itself, say
/usr/local/www/vhost/index.html, were 755 but still the error occurs.
Usually this is because the permissions on a parent directory somewhere
up the directory tree are set so that the apache user can't read files
under that directory structure.  For example /usr/local/www might be set
to 750 and owned 'root:wheel' - so the 'other' group (which the apache
user falls into) cannot read files under that directory tree.

In summary make sure the EUID user apache is running as has access to
the DocumentRoot directory as well as the files it needs to access of
course.

FWIW you can check if the apache user has perms to read somefile.txt by doing:

echo ls -al somefile.txt | su -fm www

as root.

-- 
Jez

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


Sound under laptop

2003-08-17 Thread geek
I'm completely puzzled about soundcards under freebsd, i have read the respective 
chapter in the handbook but i dont found a good relation with my laptop (compaq 725) 
soundacard that's:

16-Bit Sound Blaster CompatibleJBL Proi Audio System c/ Bass Reflex

# kldload snd
# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
#

SO, all i have to do is add devime pcm in the kernel, and when i re-compile it, the 
sound will be working ?!

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


Re: stupid question

2003-08-17 Thread Kirk Strauser
At 2003-08-17T12:10:23Z, Eugene Vinokurov [EMAIL PROTECTED] writes:

 Is there any way to restore default permissions for system directories?
 Maybe I have to check something?  Please, help

Look at mtree.  It can fix much of the damage.
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


how to install on fbsd 4.8 new version of KDE?

2003-08-17 Thread Denis
Hi All!!!

  Does anybody know how can i to install on fbsd 4.8 new version of
  KDE, such as in fbsd 5.1
  Or it's impossible?

-- 
Best regards, Denis
[EMAIL PROTECTED]

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


Problems after CVSUP

2003-08-17 Thread Tuc
Hi,

I CVSUP every other day or so, depends on when I remember. Any time
there is something out of date, I portupgrade it.

Within the last week, after CVSUP, it appears I loaded something thats
really wreaking havock on my system. 

My Netscape browser is SLOW AS HELL. If in my window manager I double 
click to tuck it up under the bar, then again to expand it down, it stutters 
and then finally refreshes. Any time I surf to a page it takes forever to 
build the page.

When I start GAIM, it looks like the popup boxes for it blink a
few dozen times before it stops.  I can type a sentence into the box, and press
enter, and sometimes 5-10 seconds later it'll finish writing the text in the
box and then accept the enter. 

The problem is I don't remember what I portupgraded in the last week
before I finally realized what happened. Is there something I can do to find
out, and then do a test backout of it to see if it fixes things?

Has anyone heard/seen this before and maybe know what the issue is?


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


Re: Problems after CVSUP

2003-08-17 Thread Kent Stewart
On Sunday 17 August 2003 07:51 am, Tuc wrote:
 Hi,

   I CVSUP every other day or so, depends on when I remember. Any time
 there is something out of date, I portupgrade it.

   Within the last week, after CVSUP, it appears I loaded something
 thats really wreaking havock on my system.

   My Netscape browser is SLOW AS HELL. If in my window manager I
 double click to tuck it up under the bar, then again to expand it
 down, it stutters and then finally refreshes. Any time I surf to a
 page it takes forever to build the page.

   When I start GAIM, it looks like the popup boxes for it blink a
 few dozen times before it stops.  I can type a sentence into the box,
 and press enter, and sometimes 5-10 seconds later it'll finish
 writing the text in the box and then accept the enter.

   The problem is I don't remember what I portupgraded in the last week
 before I finally realized what happened. Is there something I can do
 to find out, and then do a test backout of it to see if it fixes
 things?

   Has anyone heard/seen this before and maybe know what the issue is?

Did you recently upgrade libxml2 and not build the ports that depend on 
it? I am seeing the same problem and it started when I only 
portupgraded libxml2. I am rebuilding everything that uses it right now 
(-pufr libxml2) to see if that gets rid of it.

Kent



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

-- 
Kent Stewart
Richland, WA

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

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


Re: Problems after CVSUP

2003-08-17 Thread Tuc
  Has anyone heard/seen this before and maybe know what the issue is?
 
 Did you recently upgrade libxml2 and not build the ports that depend on 
 it? I am seeing the same problem and it started when I only 
 portupgraded libxml2. I am rebuilding everything that uses it right now 
 (-pufr libxml2) to see if that gets rid of it.
 
Yea, I did... On the 12th. 

Please let me know if it works/helps/etc.  If not, is there anyone
else thats run into it?

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


Re: Need route add default 192.xxx after every reboot

2003-08-17 Thread thornton
Putting defaultrouter= in rc.conf is easy for specifying an upstream
router. If you need to add other routes, for example to another subnet on
your LAN you can specify static_routes= in rc.conf to point to a list of
routes to add upon entering multiuser mode.  This list, i belive follows the
syntax of the route command. For example

add -net 192.168.100.0 192.168.0.8
where 192.168.100.0 is the network you wish to access through the gateway
192.168.0.8.  Hope this helps


- Original Message - 
From: Joachim Dagerot [EMAIL PROTECTED]
To: Freebsd [EMAIL PROTECTED]
Sent: Sunday, August 17, 2003 4:26 AM
Subject: Need route add default 192.xxx after every reboot


 I need to add a default route everytime I reboot.

 Where are these settings stored, what can I do to get the default route
 added automatically at a boot?

 ___
 [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: Problems after CVSUP

2003-08-17 Thread Kent Stewart
On Sunday 17 August 2003 08:27 am, Tuc wrote:
 Has anyone heard/seen this before and maybe know what the issue
   is?
 
  Did you recently upgrade libxml2 and not build the ports that
  depend on it? I am seeing the same problem and it started when I
  only portupgraded libxml2. I am rebuilding everything that uses it
  right now (-pufr libxml2) to see if that gets rid of it.

   Yea, I did... On the 12th.

   Please let me know if it works/helps/etc.  If not, is there anyone
 else thats run into it?

I upgraded to libxml2-2.5.10 on the 15th. That seems to be when things 
got bad. I have everything built right now and am doing the -Pruf 
libxml2 on this system right now. 

FWIW, I can't even look at html files on this system much less use the 
Internet.

Kent

-- 
Kent Stewart
Richland, WA

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

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


RE: how to install on fbsd 4.8 new version of KDE?

2003-08-17 Thread liquid
You can always install portinstall from the ports.  Then cvsup your
ports tree regularly and run ports db -Uu (or something similar, I can't
recall right now - it's in the portinstall man page) and simply type:

Portupgrade kde

And it'll go through the whole thing.  Be warned, it can take a LONG
time to compile and stuff.  On my athlon 800 it took something like 12
hours to go from 3.1.1 to 3.1.2

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Adam McLaurin
 Sent: August 17, 2003 10:57 AM
 To: [EMAIL PROTECTED]
 Subject: Re: how to install on fbsd 4.8 new version of KDE?
 
 On Sun, 2003-08-17 at 10:28, Denis wrote:
Does anybody know how can i to install on fbsd 4.8 new version of
KDE, such as in fbsd 5.1
Or it's impossible?
 
 You'll need to first cvsup your ports tree, then install the KDE
 meta-port (x11/kde3).
 
 Here's how I update my ports:
 #!/bin/sh
 
 CVSUP_MIRROR=cvsup16.FreeBSD.org
 OUTDATED_LOG=/home/eskimo/logs/outdated.ports.txt
 CVSUP_SUPFILE=/usr/share/examples/cvsup/ports-supfile
 
 /usr/local/bin/cvsup -h $CVSUP_MIRROR -P - -g -L 2 $CVSUP_SUPFILE
 /usr/local/sbin/pkgdb -aF
 cd /usr/ports
 /usr/bin/make -v index
 /usr/local/sbin/portsdb -u
 /usr/local/sbin/portsclean -C
 /usr/local/sbin/pkgdb -u
 /usr/local/sbin/portversion -v |/usr/bin/fgrep needs $OUTDATED_LOG
 
 
 Note that you'll need net/cvsup-without-gui and sysutils/portupgrade
 to
 run my script.
 
 Read the Handbook for more information about updating your ports tree
 
 --
 Adam McLaurin [EMAIL PROTECTED]

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


Re: Which process are waiting for I/O?

2003-08-17 Thread Dustin Puryear
At 02:28 PM 8/10/2003 -0700, Rus Foster wrote:

Hi All,
I've got a box which is getting high loads as process are starting waiting
for I/O but I can't track down the process as I think they stop/start
quickly. Any ideas of how to track it down?
Yes. You need to enable process accounting using accton:

# accton /var/account/acct

Let the processes that you suspect are causing issues run for a bit. Next, 
use sa to determine what the heck is going on. You can get a lot of detail 
out of sa so make sure to read the manpage. You may also want to run bsdsar 
(in ports) to watch for higher-level issues while using sa to get the real 
detail.

/var/account/acct is going to grow pretty fast. Be sure to rotate it if you 
plan on leaving process accounting enabled after your troubleshooting.

---
Dustin Puryear [EMAIL PROTECTED]
Puryear Information Technology, LLC http://www.puryear-it.com
Providing expertise in the management, integration, and
security of Windows and UNIX systems, networks, and applications.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mouse with scroll....

2003-08-17 Thread Joshua Oreman
On Sun, Aug 17, 2003 at 06:22:46PM +0400 or thereabouts, Denis wrote:
 Hi!
 
 Sunday, August 17, 2003, 3:52:44 AM, you wrote:
 
 JO On Sun, Aug 17, 2003 at 03:31:40AM +0400 or thereabouts, Denis wrote:
  Hi All!!!
  
Does anybody know how in freebsd use mouse with 3 button and one
scroll?
 
 JO --snip /etc/XF86Config (or /etc/X11/XF86Config)--
 JO Section InputDevice
 JO Identifier  Mouse0
 JO Driver  mouse
 JO Option  Protocol ImPS/2
 JO #   you need this
 JO # ...
 JO Option  Buttons 3
 JO # and this  ^
 JO Option  ZAxisMapping 4 5
 JO # and this  
 JO EndSection
 JO --snip--
 
 JO -- Josh
 
 Hey, Thanks!
 It works!
 That's cool!
 Do you happen to know how i can to set an action for 4th button?

First, change Option Protocol to Auto, as someone has commented and see if it 
still works.

You mean your mouse has 3 normal buttons and a scroll wheel? Or 2 buttons, wheel 
press, and scroll?

If it has 3 things you can press, they'll work normally. If it has more, I think you 
can use
xmodmap(1).

-- Josh

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


Re: mouse with scroll....

2003-08-17 Thread Joshua Oreman
On Sun, Aug 17, 2003 at 12:37:00PM +0200 or thereabouts, Benjamin Walkenhorst wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello,
 
 On Sonntag, 17. August 2003 01:52 Joshua Oreman wrote:
  On Sun, Aug 17, 2003 at 03:31:40AM +0400 or thereabouts, Denis wrote:
   Hi All!!!
  
 Does anybody know how in freebsd use mouse with 3 button and one
 scroll?
 
  --snip /etc/XF86Config (or /etc/X11/XF86Config)--
  Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol ImPS/2
  #   you need this
  # ...
  Option  Buttons 3
  # and this  ^
  Option  ZAxisMapping 4 5
  # and this  
  EndSection
  --snip--
 
 Don't you need to enter a device-file as well?
 My XF86Config contains a line 
 - ---
 OptionDevice/dev/sysmouse
 - ---
 To get the mouse wheel working, I have to change that line, too, don't I? 
 What do I have to put there? /dev/psm0?

I left a # ... comment in there, didn't you see? :-)
If you're using mouse to copy/paste in the console, you need /dev/sysmouse in 
XF86Config.
Otherwise use /dev/psm0 (PS/2 mice) or /dev/ums0 (USB mice).

-- Josh

 
 Thanks in advance,
 
 kind regards,
 
 Benjamin
 
 - -- 
 Benjamin Walkenhorst
 eMail: [EMAIL PROTECTED]
 homepage: http://www.krylon.de
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.2 (GNU/Linux)
 Comment: Public Key available at http://www.krylon.de
 
 iD8DBQE/P1rMoYumWdMvhMQRArb/AKCOih/3tIRWDv++WHzwHG9OpuecUwCdHZq6
 UYEUa42vVRVwlx2spcaLvIY=
 =hIl7
 -END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: permission in apache

2003-08-17 Thread Joshua Oreman
On Sun, Aug 17, 2003 at 03:10:41PM +0100 or thereabouts, Jez Hancock wrote:
 On Sun, Aug 17, 2003 at 05:29:11AM -0700, Mike Maltese wrote:
  This shouldn't have anything to do with UNIX permissions. You'll get this
  error (403) if there is no document by the name specified in the
  DirectoryIndex directive (defualt is index.html) and the directory does not
  have the Indexes option (display directory contents). So either create
  index.html in that directory, or add Indexes to the Options for that
  directory to view the list of files. These options can be set on a per-vhost
  basis.
 A 403 error would occur if a DirectoryIndex file exists (index.html say)
 and permissions on that file in the DocumentRoot were such that it can't
 be accessed by the apache user.
 
 Further it could be the case that permissions on the file itself, say
 /usr/local/www/vhost/index.html, were 755 but still the error occurs.
 Usually this is because the permissions on a parent directory somewhere
 up the directory tree are set so that the apache user can't read files
 under that directory structure.  For example /usr/local/www might be set
 to 750 and owned 'root:wheel' - so the 'other' group (which the apache
 user falls into) cannot read files under that directory tree.
 
 In summary make sure the EUID user apache is running as has access to
 the DocumentRoot directory as well as the files it needs to access of
 course.
 
 FWIW you can check if the apache user has perms to read somefile.txt by doing:
 
 echo ls -al somefile.txt | su -fm www

Won't work.
Non-apache-related-example:
% id -u
1000
% ls /etc/master.passwd
/etc/master.passwd
% less /etc/master.passwd
/etc/master.passwd: Permission denied

You need to actually read the file - something like `dd if=somefile.txt of=/dev/null'
should work.

-- Josh

 
 as root.
 
 -- 
 Jez
 
 http://www.munk.nu/
 ___
 [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: how-to run javascript on my server

2003-08-17 Thread David Banning
 First of all.  Java and Java script are two different things. I take it 
 you use Java. Your Java applets don't run on the server but on the 
 client. The main problem from a server point of view is that you need 
 to make sure that the class files can be handed out by the webserver.
 
 You could check these thing:
 - Does your client Java installed?
 - Does your client the Java version installed that you use? (I.e you 
   use commands of version 2.0 and you client has 1.2)
 - Does your client know how to get the class files?
 - Does your server hand them corretly out? (You could check 
   /var/log/httpd-*.log if you use apache)
 
 As far for websites: java.sun.com is the main site you want to look at. 
 It has great tutorials, howtos and user support groups.

Thanks alot for your help Alex. I was able to get them running rather
easily. I just put the files in the web directly and the clients
-do- read them just fine. Thanks for your help.

For some reason I thought that I need the apache-jserv modules to be
loaded. I guess I don't. That still leaves me wondering what apache-jserv
Servlet Engine which exists in the ports -does-, but since I am already
where I need to be, I will read on that perhaps some other day.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


toshiba-acpi-extras

2003-08-17 Thread edscott wilson garcia

Does anybody know if there are plans to port the toshiba-acpi-extras
from linux to the freebsd kernel? Without these additional acpi
variables it is not possible to adjust the LCD brightness for recent
Toshiba laptops (satellite 2400,2450,2455 and others). Not being able to
dim the LCD screen is a real bummer.



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


Re: A big favor..

2003-08-17 Thread Rod Person
On Sat, 16 Aug 2003 22:31:36 +
unknown name [EMAIL PROTECTED] wrote:

 Hello,
 
 I would like to try to tell you that i dream of having an email with 
 FreeBSD.org =$, i know im it sounds crazy,
 but i would like so much to have an email with FreeBSD.org, just a
 foward, not mailbox, just a simple forward...
 hehehe i just tried to say it as best as i can...bye :o)
 

Well if you use Open Domain Server (www.ods.org), you could set up your
own mail server and create an alias the ends with free-bsd.org. Without
contributing code that about the closest you can get.


-- 
Rod

@ Home So No Cool Signature
http://opensourcebeef.bsd.st
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


panic on heavy read/writes (5.1 + vinum)

2003-08-17 Thread Hari Bhaskaran
Hi,

I recently installed 5.1 RELEASE on a PII (old!)
machine. I am using vinum on everything except '/' ( I am not
using the new vinum-root setup possible with 5.1 )
(Versions are straight out of the 5.1 RELEASE, no cvsup)

I got a panic during a make distclean on cvsup-without-gui
(which includes a dozen other packages - meaning heavy read/write)
Unfortunately I couldn't get the dump/log anywhere - it cleared
the screen too fast before i could write anything down - the
panic message was some vinum, that's all I could read.
/var/crash is empty - no trace of any other problem in
/var/log/messages

This had happened once before - When I did a make on
cvsup-without-gui and since it takes a while I decided
to come back after a while. When I came back the machine
was in the login prompt again. I couldn't remember if I 
had intentionally rebooted it or not - I went back to /var/log/messages
and realized there is no trace of a corresponding signal 15 or
shutdown. That when I decided to do a make distclean and I
got the second panic.

NOTE: I wish the 'panic' just stopped the system (and let me
see the console) rather than reseting the system automatically.

I know I haven't followed the steps at 
http://www.vinumvm.org/vinum/how-to-debug.html#panic, but I will
try to do it as soon as possible.

2 drives:
D formosa   State: up   /dev/ad1s1e A: 0/11022 MB (0%)
D regalis   State: up   /dev/ad0s1e A: 0/36122 MB (0%)

5 volumes:
V var   State: up   Plexes:   2 Size:   1024 MB
V usrbase   State: up   Plexes:   2 Size:   3072 MB
V usrhome   State: up   Plexes:   2 Size:   6144 MB
V tmp   State: up   Plexes:   1 Size:782 MB
V fs1   State: up   Plexes:   1 Size: 25 GB

8 plexes:
P var.p0  C State: up   Subdisks: 1 Size:   1024 MB
P var.p1  C State: up   Subdisks: 1 Size:   1024 MB
P usrbase.p0  C State: up   Subdisks: 1 Size:   3072 MB
P usrbase.p1  C State: up   Subdisks: 1 Size:   3072 MB
P usrhome.p0  C State: up   Subdisks: 1 Size:   6144 MB
P usrhome.p1  C State: up   Subdisks: 1 Size:   6144 MB
P tmp.p0  C State: up   Subdisks: 1 Size:782 MB
P fs1.p0  C State: up   Subdisks: 1 Size: 25 GB

8 subdisks:
S var.p0.s0 State: up   D: regalis  Size:   1024 MB
S var.p1.s0 State: up   D: formosa  Size:   1024 MB
S usrbase.p0.s0 State: up   D: regalis  Size:   3072 MB
S usrbase.p1.s0 State: up   D: formosa  Size:   3072 MB
S usrhome.p0.s0 State: up   D: regalis  Size:   6144 MB
S usrhome.p1.s0 State: up   D: formosa  Size:   6144 MB
S tmp.p0.s0 State: up   D: formosa  Size:782 MB
S fs1.p0.s0 State: up   D: regalis  Size: 25 GB

dmesg of my system is given below
-
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #0: Thu Jun  5 02:55:42 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc0689000.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 233864991 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (233.86-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x634  Stepping = 4
  Features=0x80f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX
real memory  = 268435456 (256 MB)
avail memory = 253681664 (241 MB)
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fdca0
pcib0: Intel 82443LX (440 LX) host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82443LX (440 LX) host to PCI bridge mem 0xe000-0xe3ff at device 
0.0 on pci0
pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xe000-0xe01f irq 11 at device 
7.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: bridge, PCI-unknown at device 7.3 (no driver attached)
pci0: display, VGA at device 9.0 (no driver attached)
rl0: Accton MPX 5030/5038 10/100BaseTX port 0xe400-0xe4ff mem 

IPF DHCP request

2003-08-17 Thread geek
Hey guys, can u please post (who have) rules with DHCP involved?! because, i'm in 
troube, my firewall doesnt work because because my ipf.rules doesnt work and i dont 
know why!!

When i put in rules pass in/out all i have acess to the internet, otherwise, with my 
rules i dont, and i have change them so many times, and they didnt work anyway, if 
anyone can help me:

block in log all
block out log all

pass in quick on lo0 all
pass out quick on lo0 all

pass in quick on ep0 all
pass out quick on ep0 all


#Allow internal traffic to outside world
pass out quick on ep1 proto tcp all keep state
pass out quick on ep1 proto udp all keep stateuic
pass out quick on ep1 proto icmp all keep state


#Allow traffic from outside
#DNS
pass in quick on ep1 proto udp from any to any port = 53 keep state

#DHC# [dhclient]
pass in quick on ep1 proto udp from any to any port = 68 keep state keep fragsP


... where ep1 is external interface and ep0 is the internal :/

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


Need help with mldonkey, Anybody...

2003-08-17 Thread kristof
Hi,

I'm trying to get mldonkey working but I don't really know what I'm doing wrong. Fisrt 
I got the error of no servers in servers.ini but was able to solve this by copying the 
servers.ini in the ../distrib dir over the other ones. now I can see a list of all the 
servers in the browsers but I don't seem to be able to connect to them. In the 
following you can see my start up messages, and as you can see there is an error in 
it...could it because of this error things go wrong and how do I solve it?

Also when I run the command mlgui, wich should start the gui version of mldonkey (if 
not I'm way off target then) it just does the same as the command mlnet and doesn't 
start the gui.

Does anybody know why I cannot connect to a server? Any halp or advice would be very 
helpfull.

thx in advance

kristof


Your system supports 3607 file descriptors
Resolving [proxy.pandora.be] ...doneYour system supports 3607 file descriptors
Resolving [proxy.pandora.be] ...done
Network Global Shares registered
Network Direct Connect registered
Network Open Napster registered
Network Gnutella registered
Network Fasttrack registered
Network BitTorrent registered
Network Donkey registered
Loading history file ...Network Soulseek registered
LOADING SHARED FILES AND SOURCES
Network.load_complex_options not implemented by BitTorrent
Network Soulseek disabled
Network Donkey enabled
Network BitTorrent enabled
Network Fasttrack disabled
Network Gnutella disabled
Network Open Napster disabled
Network Direct Connect disabled
Error loading ./comments.met: Sys_error(./comments.met: No such file or directory)
For host 127.173.67.18 port 4661
+++ Exception BEFORE CONNECT connect failed: Can't assign requested address
2
Connection refused : connect
chat_app_host=localhost chat_app_port=5036
SHARING ./incoming PRIO 0
QUERY URL http://ocbmaurice.dyns.net/pl/slist.pl?download
QUERY URL http://members.lycos.co.uk/appbyhp2/FlockHelpApp/contact-files/contact.ocl
Welcome to MLdonkey client
Check http://www.mldonkey.net/ for updates
To command: telnet 127.0.0.1 4000
Or with browser: http://127.0.0.1:4080
Welcome to MLdonkey
SAVING SHARED FILES AND SOURCES
SAVED
Network.save_complex_options not implemented by BitTorrent
Options correctly saved
Core started
Disabling output to console, to enable: stdout true

Network Global Shares registered
Network Direct Connect registered
Network Open Napster registered
Network Gnutella registered
Network Fasttrack registered
Network BitTorrent registered
Network Donkey registered
Loading history file ...Network Soulseek registered
LOADING SHARED FILES AND SOURCES
Network.load_complex_options not implemented by BitTorrent
Network Soulseek disabled
Network Donkey enabled
Network BitTorrent enabled
Network Fasttrack disabled
Network Gnutella disabled
Network Open Napster disabled
Network Direct Connect disabled
Error loading ./comments.met: Sys_error(./comments.met: No such file or directory)
For host 127.173.67.18 port 4661
+++ Exception BEFORE CONNECT connect failed: Can't assign requested address
2
Connection refused : connect
chat_app_host=localhost chat_app_port=5036
SHARING ./incoming PRIO 0
QUERY URL http://ocbmaurice.dyns.net/pl/slist.pl?download
QUERY URL http://members.lycos.co.uk/appbyhp2/FlockHelpApp/contact-files/contact.ocl
Welcome to MLdonkey client
Check http://www.mldonkey.net/ for updates
To command: telnet 127.0.0.1 4000
Or with browser: http://127.0.0.1:4080
Welcome to MLdonkey
SAVING SHARED FILES AND SOURCES
SAVED
Network.save_complex_options not implemented by BitTorrent
Options correctly saved
Core started
Disabling output to console, to enable: stdout true



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


Re: [JunkMail] IPF DHCP request

2003-08-17 Thread Mark Woodson
At 09:29 PM 8/17/2003 +0100, geek wrote:
Hey guys, can u please post (who have) rules with DHCP involved?! because, 
i'm in troube, my firewall doesnt work because because my ipf.rules doesnt 
work and i dont know why!!

When i put in rules pass in/out all i have acess to the internet, 
otherwise, with my rules i dont, and i have change them so many times, and 
they didnt work anyway, if anyone can help me:

block in log all
block out log all
This should be at the end.  It's organizationally easiest if you break it 
up into by interface.  I think is overly restrictive additionally.

pass in quick on lo0 all
pass out quick on lo0 all
pass in quick on ep0 all
pass out quick on ep0 all
#Allow internal traffic to outside world
pass out quick on ep1 proto tcp all keep state
pass out quick on ep1 proto udp all keep stateuic
pass out quick on ep1 proto icmp all keep state
#Allow traffic from outside
#DNS
pass in quick on ep1 proto udp from any to any port = 53 keep state
this really isn't necessary.  You've allowed responses to queries by the 
pass out on the interface above.

#DHC# [dhclient]
pass in quick on ep1 proto udp from any to any port = 68 keep state keep 
fragsP
keep frags is really unnecessary.

I'd recommend the howto at this address.

http://www.schlacter.net/public/FreeBSD-STABLE_and_IPFILTER.html

-Mark 

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


Re: Need help with mldonkey, Anybody...

2003-08-17 Thread Rod Person
On Mon 18 Aug 2003 00:01:44 +0200
kristof [EMAIL PROTECTED] wrote:

 Hi,
 
 I'm trying to get mldonkey working but I don't really know what I'm
 doing wrong. Fisrt I got the error of no servers in servers.ini but
 was able to solve this by copying the servers.ini in the ../distrib
 dir over the other ones. now I can see a list of all the servers in
 the browsers but I don't seem to be able to connect to them. In the
 following you can see my start up messages, and as you can see there
 is an error in it...could it because of this error things go wrong and
 how do I solve it?
 
 Also when I run the command mlgui, wich should start the gui version
 of mldonkey (if not I'm way off target then) it just does the same as
 the command mlnet and doesn't start the gui.
 

I don't know if this is much help, but try switching to port 6348 or
6346. I used mldonkey for awhile but found it slow. I switched to xmule
and gtk-gnutella. gtk-gnutell is faster than xmule and mldonkey.

Otherwise the servers may just be down
-- 
Rod

@ Home So No Cool Signature
http://opensourcebeef.bsd.st
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: Need help with mldonkey, Anybody...

2003-08-17 Thread kristof
Hi,

I don't really think you tip had effect, but thx anyway.
The weird thing is that when I change the configuration to wich networks it may 
connect, include soulseek end fasttrack, these server our found almost directly. But 
it is so that my servers.ini list contains about 6700 donkey servers, and they can't 
al be down or is the list just to big to be useful. I don't really have an idee 
for the moment... Anbody got any idees?? 

thx and still hoping for a reply


Its late and now I'm going to sleep...



 Rod Person [EMAIL PROTECTED] wrote:


On Mon 18 Aug 2003 00:01:44 +0200
kristof  wrote:

 Hi,
 
 I'm trying to get mldonkey working but I don't really know what I'm
 doing wrong. Fisrt I got the error of no servers in servers.ini but
 was able to solve this by copying the servers.ini in the ../distrib
 dir over the other ones. now I can see a list of all the servers in
 the browsers but I don't seem to be able to connect to them. In the
 following you can see my start up messages, and as you can see there
 is an error in it...could it because of this error things go wrong and
 how do I solve it?
 
 Also when I run the command mlgui, wich should start the gui version
 of mldonkey (if not I'm way off target then) it just does the same as
 the command mlnet and doesn't start the gui.
 

I don't know if this is much help, but try switching to port 6348 or
6346. I used mldonkey for awhile but found it slow. I switched to xmule
and gtk-gnutella. gtk-gnutell is faster than xmule and mldonkey.

Otherwise the servers may just be down
-- 
Rod

@ Home So No Cool Signature
http://opensourcebeef.bsd.st
___
[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: panic on heavy read/writes (5.1 + vinum)

2003-08-17 Thread Greg 'groggy' Lehey
On Sunday, 17 August 2003 at 15:01:41 -0500, Hari Bhaskaran wrote:
 Hi,

 I recently installed 5.1 RELEASE on a PII (old!)
 machine. I am using vinum on everything except '/' ( I am not
 using the new vinum-root setup possible with 5.1 )
 (Versions are straight out of the 5.1 RELEASE, no cvsup)

 ...

 I know I haven't followed the steps at
 http://www.vinumvm.org/vinum/how-to-debug.html#panic, but I will
 try to do it as soon as possible.

You've also included information which this page specifically asked
you not to send.

 Any help is appreciated.

Follow the steps at
http://www.vinumvm.org/vinum/how-to-debug.html#panic.  I can't help
you if you don't tell me what's wrong.

 NOTE: I wish the 'panic' just stopped the system (and let me see the
 console) rather than reseting the system automatically.

It does.  It sounds like there's something wrong with your system.
But that's why I need the information.

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
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


RE: RE: [JunkMail] IPF DHCP request

2003-08-17 Thread geek

i read it already, but i have a problem with it

#
# Allow bootp traffic in from your ISP's DHCP server only. 
#
pass in quick on ed0 proto udp from X.X.X.X/32 to any port = 68 keep state

My IP changes every time i reboot the machine, how i can make this works ?!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd iso

2003-08-17 Thread bob door
what iso do i download for a i686 processor?
 
 
thank you


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SAMBA 2.2.8a, FBSD 4.8 Release Win2K Remote Print Issues

2003-08-17 Thread RA Cohen
Hello, list --

I trust this is the correct list for this post. I have been
wrestling literally for days with SAMBA/Win2K remote printing.
Here is the architecture:

qty 1- FBSD SAMBA Server PDC
qty 2- Network printers (an HP LJ2100 with Built-in net card,
and a Canon 6500 printer/copier also with built-in nic.
qty 50+ - Win2K Clients

SAMBA file sharing works great, and after much trial and error,
so does the printing but only to ONE printer -- the one
identified as 'lp'. I can successfully print from the FBSD box
to each remote printer in the printcap with: 

lpr -Pprinter testfile.name . 

This tells me the printcap is working as are my print queues.
But when trying to print from the Win2K clients, I only get
output to one of the printers (the one I define as lp). I think
what is happening is that the lp: definition in the printcap
defaults to /dev/lp which then goes to the aforementioned
printer...

Can someone please set me straight? I am about to lose my mind,
my wife, and probably some other important things in my life!

Here is my smb.conf:

# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|mainoffhp2100|pcl3:\
:rp=raw:\
:rm=192.168.1.114:\
:sd=/var/spool/lpd/mainoffhp2100:\
:mx#0:\
:sh:
# APS1_END - don't delete this
# BEGIN PRINTER2
lp2|mainoffcanon|copier:\
:rp=raw:\
:rm=192.168.1.20:\
:sd=/var/spool/lpd/mainoffcanon:\
:mx#0:\
:sh:
# PRINTER2 END

Thank you in advance for your help!

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: freebsd iso

2003-08-17 Thread Craig M. Luchtefeld
i386.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of bob door
Sent: Sunday, August 17, 2003 8:21 PM
To: [EMAIL PROTECTED]
Subject: freebsd iso


what iso do i download for a i686 processor?
 
 
thank you


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
___
[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: freebsd iso

2003-08-17 Thread Kris Kennaway
On Sun, Aug 17, 2003 at 06:20:42PM -0700, bob door wrote:
 what iso do i download for a i686 processor?

The regular i386 iso.  If you want to recompile FreeBSD with
non-generic CPU optimizations, see the handbook section on 'make
world'.

Kris


pgp0.pgp
Description: PGP signature


/dev/dsp inaccessible

2003-08-17 Thread epilogue
hello all,

i have been playing with FBSD for almost a year now.  i would very much like to use
it for music recording and editing.  i have installed several programs (audacity, 
spiral
synth modular, etc.) which all want to access /dev/dsp, however that device only
responds with error messages like 'device busy' or 'invalid playback device'.

uname -a
snip 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #9: snip i386

relevant lines from kernel config:
device  pcm
device  sbc --- i recently added these two lines and recompiled,
option  PNPBIOS--- hoping it might make a difference.  it didn't.   :(

relevant lines from dmesg:
pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0 on pci0
pcm0: SigmaTel STAC9721/9723 ac97 codec

cat /dev/sndstat 
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 (4p/0r/0v channels duplex)

cat /dev/dsp --- cat: /dev/dsp: Device busy
fstat | grep dsp --- provides no info

neither esd nor any other sound daemon of which i am aware is running.

xmms works fine (however it seems to access OSS drivers, not /dev/dsp directly.

i have hunted all over trying to find a solution for this, but to no avail.  i came 
across the
following Problem Report -- http://www.freebsd.org/cgi/query-pr.cgi?pr=48338, but am
neither sure it is the same thing nor certain about how to follow-up on open PRs. 

finally fixing this would really make my week.  any suggestions?


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


Fragments of kernel log text in security run message

2003-08-17 Thread Ralph Dratman
Until recently, my security run messages from Release-4.7 have been 
reasonably comprehensible. Certain events and changes have been 
reported, such as login failures and setuid changes, but I could 
always figure out roughly what was being reported.

Recently, though, I've been seeing small fragments of text in the 
kernel log portion of that report. This happens almost every day 
now. Following are a few examples. There is just one fragment per 
report.
-
kq9.net kernel log messages:
copeid 0x4
kq9.net kernel log messages:
8.
kq9.net kernel log messages:
nal_number pid ...
kq9.net kernel log messages:
rved.
kq9.net kernel log messages:
0/16/63] at ata0-slave WDMA2
kq9.net kernel log messages:
d to support NFS
kq9.net kernel log messages:
/ad0s1a:
kq9.net kernel log messages:
, 4950 blocks, 2.0% fragmentation)
kq9.net kernel log messages:
TEM CLEAN; SKIPPING CHECKS
-

Each of these messages looks like a valid fragment of a bootup 
message, but I don't see why I should suddenly be getting these in 
the security report.

Does anyone know where this stuff might be coming from?

Thank you very much.

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


Re: /dev/dsp inaccessible

2003-08-17 Thread Mike Maltese
Here are a couple of links that may be helpful:

http://www.onlamp.com/pub/a/bsd/2002/09/19/FreeBSD_Basics.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/multimedia.html

 hello all,

 i have been playing with FBSD for almost a year now.  i would very much
like to use
 it for music recording and editing.  i have installed several programs
(audacity, spiral
 synth modular, etc.) which all want to access /dev/dsp, however that
device only
 responds with error messages like 'device busy' or 'invalid playback
device'.

 uname -a
 snip 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #9: snip i386

 relevant lines from kernel config:
 device  pcm
 device  sbc --- i recently added these two lines and recompiled,
 option  PNPBIOS--- hoping it might make a difference.  it
didn't.   :(

 relevant lines from dmesg:
 pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0
on pci0
 pcm0: SigmaTel STAC9721/9723 ac97 codec

 cat /dev/sndstat
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 (4p/0r/0v
channels duplex)

 cat /dev/dsp --- cat: /dev/dsp: Device busy
 fstat | grep dsp --- provides no info

 neither esd nor any other sound daemon of which i am aware is running.

 xmms works fine (however it seems to access OSS drivers, not /dev/dsp
directly.

 i have hunted all over trying to find a solution for this, but to no
avail.  i came across the
 following Problem Report --
http://www.freebsd.org/cgi/query-pr.cgi?pr=48338, but am
 neither sure it is the same thing nor certain about how to follow-up on
open PRs.

 finally fixing this would really make my week.  any suggestions?


 thank you so much,
 epilogue

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


Re: /dev/dsp inaccessible

2003-08-17 Thread Mike Maltese
I should have asked this also - what desktop are you running?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/dev/dsp inaccessible

2003-08-17 Thread epilogue
hi mike,

thanks for your super quick replies!

1) i already checked out the info in the handbook as well as that article at
onlamp.  alas, no results.

2) my desktop -- XFree86-4.3.0,1 and window manger -- fluxbox-0.1.14_2.


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


iso disk 3 and 4

2003-08-17 Thread David R. Stegner
I am trying to move up to 4.8 release.

According to the online installation guide, section 2.13.1, for each 
release there are ISO disks 1 - 4.

I have downloaded 1  2 and all is well.

Does anyone have an idea where disks 3  4 are, I am unable to find them at 
ftp.freebsd.org.

Dave

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


Building GTK2 with -O2 might be a bad idea if you use Evolution.

2003-08-17 Thread Matthew Graybosch
When building GTK2 with -O2 in my CFLAGS under 5.1-RELEASE on an Athlon
XP, I noticed that Evolution 1.4.3 has a nasty tendency to segfault.
However, rebuilding GTK2 with -O instead of -O2 seems to have cured
Evolution's tendency to segfault and die. Has anybody else noticed this?

-- 
Matthew Graybosch
http://www.starbreaker.net
If you take a stand on a dead empty hand, 
never let 'em see your cards. --Savatage

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


Re: /dev/dsp inaccessible

2003-08-17 Thread Mike Maltese
I had a problem with KDE and arts at one time. IIRC, I had to manually point
the applications at the different virtual sound devices. What sound server
does fluxbox use? Also, what sound card are you running?

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


Forgot passwords - locked out of 4.3 - flops no help

2003-08-17 Thread suleyman
Greetings:

I have FreeBSD 4.3 installed on my Toshiba 305 CDS laptop, which I
installed a couple of years ago from the WindRiver CD-ROM set.

After many days of work, I had everything running just the way I wanted.

Sicne then, I have forgotten my passwords, and I gave away my computer
books when I moved. I am completely locked out of my system.

I have a boot selection utility called System Commander 2000 which
prevents me from booting from the CD. I can't find the System Commander
floppies, so I can't uninstall it.

System Commander will allow me to boot from a floppy.

I boot from kern.flp which then prompts me for mfsroot.flp. I insert
mfsroot.flp, I skip Kernel Configuration. I get to the Configure menu
and select Post-Instalation Configuration. At the Post-Instalation
Configuration menu, I select Root Password - Select the System
Manager's Password. I hit ENTER and NOTHING HAPPENS. The screen seems
to blink a little but that's all.

I would be grateful for any suggestions as to what to do.

Sincerely,

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


Sohoware ncb100 pcmcia cardbus nic in 5.1-release

2003-08-17 Thread jim
 Pcmcia cardbus Sohoware ncb100 is found by kernel, seems to be using 
dc driver,identifies properly, even showing correct mac address, even 
led shows link, but does not work. Just shows 'no carrier'. After manual 
configuration can even ping itself at the assigned address. The card 
works under Linux 2.4.20 with tulip driver, and under netbsd 1.6.1 with 
tlp driver. It looks like there's some overlap with the de driver, but I 
don't see how it can be used with cardbus. My uname:

FreeBSD skippy 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Fri Aug 15 08:30:24 
EDT 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKERNEL  i386

And dmesg:

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #0: Fri Aug 15 08:30:24 EDT 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKERNEL
Preloaded elf kernel /boot/kernel.older/kernel at 0xc0474000.
Preloaded elf module /boot/kernel.older/if_dc.ko at 0xc04741fc.
Timecounter i8254  frequency 1193182 Hz
CPU: AMD-K6(tm) 3D processor (367.50-MHz 586-class CPU)
  Origin = AuthenticAMD  Id = 0x58c  Stepping = 12
  Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
  AMD Features=0x8800SYSCALL,3DNow!
real memory  = 134217728 (128 MB)
avail memory = 125497344 (119 MB)
K6-family MTRR support enabled (2 registers)
npx0: math processor on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
apm0: APM BIOS on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: OPTi 82C700 host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: display, VGA at device 2.0 (no driver attached)
ohci0: OPTi 82C861 (FireLink) USB controller mem 0xff7ff000-0xff7f 
irq 3 at device 9.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: OPTi 82C861 (FireLink) USB controller on ohci0
usb0: USB revision 1.0
uhub0: OPTi OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
cbb0: TI1131 PCI-CardBus Bridge irq 9 at device 10.0 on pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb1: TI1131 PCI-CardBus Bridge irq 9 at device 10.1 on pci0
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
atapci0: GENERIC ATA controller port 0xffa0-0xffaf at device 20.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
orm0: Option ROM at iomem 0xc-0xcbfff on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown: PNP0303 can't assign resources (port)
unknown: PNP0500 can't assign resources (port)
unknown: PNP0400 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0f13 can't assign resources (irq)
Timecounters tick every 10.000 msec
cardbus1: Resource not specified in CIS: id=14, size=400
dc0: Intel 21143 10/100BaseTX port 0x1000-0x107f mem 
0x88002000-0x880023ff irq 9 at device 0.0 on cardbus1
dc0: Ethernet address: 00:80:c6:06:32:37
miibus0: MII bus on dc0
dcphy0: Intel 21143 NWAY media interface on miibus0
dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ad0: 5729MB TOSHIBA MK6015MAP [12416/15/63] at ata0-master BIOSDMA
acd0: CDROM MATSHITA CR-173 at ata1-master BIOSPIO
Mounting root from ufs:/dev/ad0s3a

output from ifconfig:

dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::280:c6ff:fe06:3237%dc0 prefixlen 64 scopeid 0x3
ether 00:80:c6:06:32:37
media: Ethernet autoselect (none)
status: nocarrier
This is the only thing keeping me from going full time with freebsd on 
this ancient laptop. I did a network install with an old 10baseT 16-bit 
card that works, but has dongle problems that come with age. Any info 
appreciated. Thanks,
Jim

___
[EMAIL PROTECTED] mailing list

Re: Forgot passwords - locked out of 4.3 - flops no help

2003-08-17 Thread Dan Nelson
In the last episode (Aug 18), suleyman said:
 Greetings:
 
 I have FreeBSD 4.3 installed on my Toshiba 305 CDS laptop, which I
 installed a couple of years ago from the WindRiver CD-ROM set.
 
 After many days of work, I had everything running just the way I wanted.
 
 Sicne then, I have forgotten my passwords, and I gave away my computer
 books when I moved. I am completely locked out of my system.

Tried
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW
?

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


Re: Fragments of kernel log text in security run message

2003-08-17 Thread Kris Kennaway
On Sun, Aug 17, 2003 at 10:39:49PM -0400, Ralph Dratman wrote:

 Recently, though, I've been seeing small fragments of text in the 
 kernel log portion of that report. This happens almost every day 
 now. Following are a few examples. There is just one fragment per 
 report.
 -
 kq9.net kernel log messages:
 copeid 0x4
 
 kq9.net kernel log messages:
 8.

I get this as well on RELENG_4...I wish I knew why.  Often it causes
syslogd to log it at LOG_EMERG priority (=spams every logged in user
with the truncated message).

Kris


pgp0.pgp
Description: PGP signature


Re: iso disk 3 and 4

2003-08-17 Thread Kris Kennaway
On Sun, Aug 17, 2003 at 08:37:09PM -0700, David R. Stegner wrote:
 
 I am trying to move up to 4.8 release.
 
 According to the online installation guide, section 2.13.1, for each 
 release there are ISO disks 1 - 4.
 
 I have downloaded 1  2 and all is well.
 
 Does anyone have an idea where disks 3  4 are, I am unable to find them at 
 ftp.freebsd.org.

They are only available for purchase, however their contents
(packages) are on the FTP site under ports/${arch}/.

Kris


pgp0.pgp
Description: PGP signature


Java and Netscape 7.1?

2003-08-17 Thread Warren Toomey
Hi,
I've installed both netscape7-7.1 (a Linux browser) and
linux-sun-jdk-1.4.2 via ports on FreeBSD-4.8. Both are working
fine, but I can't work out how to enable Java support from
within netscape7english. I've searched the questions mailing
list with no luck. All the Netscape 7.1 release notes say is
that: Java is not included with the Linux installer for Netscape 7.1.
Download Java version 1.4.2 or later at the Java web site.

Many thanks for suggestions or solutions,

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


Re: Fragments of kernel log text in security run message

2003-08-17 Thread Dan Nelson
In the last episode (Aug 17), Kris Kennaway said:
 On Sun, Aug 17, 2003 at 10:39:49PM -0400, Ralph Dratman wrote:
 
  Recently, though, I've been seeing small fragments of text in the 
  kernel log portion of that report. This happens almost every day 
  now. Following are a few examples. There is just one fragment per 
  report.
  -
  kq9.net kernel log messages:
  copeid 0x4
  
  kq9.net kernel log messages:
  8.
 
 I get this as well on RELENG_4...I wish I knew why.  Often it causes
 syslogd to log it at LOG_EMERG priority (=spams every logged in user
 with the truncated message).

I think this happens after the kernel's message buffer starts rolling
over.  The very first line in the dmesg output sometimes gets cut in
half, so diff prints it as a change block, and the security script
prints the add portion.  Maybe the check_diff function should remove
the first line of the dmesg output before doing the diff?

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


buildkernel errs: aicasm_scan.c gives signal 5 error

2003-08-17 Thread Dave Banning
I cvsuped last evening and tried to buildkernel and got this error;

cc -O -pipe  -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm   
-D__FBSDID=__RCSID -c aicasm_scan.c
{standard input}: cc: Internal compiler error: program cc1 got fatal signal 5
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

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

Stop in /usr/src.
root# Assembler messages:
{standard input}:2887: Warning: end of file not at end of a line; newline
inserted



when I go directly into the directory;

/usr/src/sys/dev/aic7xxx/aicasm 

and do a make I get;

cc -O -pipe  -nostdinc -I/usr/include -I.-c aicasm_macro_gram.c
lex -t   aicasm_scan.l  aicasm_scan.c
cc -O -pipe  -nostdinc -I/usr/include -I.-c aicasm_scan.c
{standard input}: cc: Internal compiler error: program cc1 got fatal signal 5
*** Error code 1

Stop in /usr/src/sys/dev/aic7xxx/aicasm.
Assembler messages:
{standard input}:2887: Warning: end of file not at end of a line; newline
inserted

Above it looks like lex is creating the code that errs.

Any ideas?



__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]