problem updating ports

2005-02-16 Thread Rene C. Mendoza
Hi!
Has anyone encountered the following error.  I'm using Freebsd 5.3.
daffy# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please 
wait..gnustep-slideshow-0.3: "/usr/ports/graphics/slideshowkit" 
non-existent -- dependency list incomplete
===> graphics/gnustep-slideshow failed
*** Error code 1
1 error

Here's my cvsup.conf:
*default tag=.
*default release=cvs
*default host=cvsup5.freebsd.org
*default base=/usr
*default prefix=/usr
*default use-rel-suffix
*default compress
*default delete
src-all
*default tag=.
ports-all
Been googling around but can't seem to find the solution.
thanks,
Rene

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vinum vs. DPT smartcacheIV raid

2005-02-16 Thread Peter C. Lai
On Thu, Feb 17, 2005 at 09:44:51AM +1030, Greg 'groggy' Lehey wrote:
 
> Recall that there are no real hardware RAID controllers on the
> market.  The difference is whether you have a special processor on the
> controller card or not.  To determine which is faster, you need to
> compare the hardware on the card and the hardware in the system.


If I understand the DPT manual correctly:
My cards have a motorola 68000-based cpu. The "faster" smartraid cards have
motorola 68020-based cpus as well as much larger cache. My card has a max
transaction rate of 20MHz. It sends 2bytes down the wire per clockcycle (SCSI
DDR? LOL) so it has a max througput of 40Mbps.

-- 
Peter C. Lai
University of Connecticut
Dept. of Molecular and Cell Biology
Yale University School of Medicine
SenseLab | Research Assistant
http://cowbert.2y.net/



smime.p7s
Description: S/MIME cryptographic signature


Re: Grainy X Windows and KDE.

2005-02-16 Thread Anthony Atkielski
Greg 'groggy' Lehey writes:

> How about posting a screen shot somewhere?  It's not very clear what
> you mean here.

It sounds like 256-color mode and/or dithering of colors.  That
shouldn't be necessary at 16-bit color or beyond, though.

-- 
Anthony


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


Re: Grainy X Windows and KDE.

2005-02-16 Thread Greg 'groggy' Lehey
On Wednesday, 16 February 2005 at 23:25:05 -0600, Dmitri Furman wrote:
> Dear FreeBSD experts.  Your help with this would be greatly appreciated. I
> spent a week now trying to setup FreeBSD on my Dell Dimension 8200 Desktop.
> Most of the time was spent setting up Xorg to work.  I have Nvidia video
> card GeForce MX4400 with 32 MB or RAM.  I had to rebuild kernel to make
> Nvidia driver work.  I am able to run in 1024x768 mode but picture is
> really grainy.  I specified depth at 24 and also tried 32.  I have a 15"
> Flat Panel monitor.  If anyone had any luck or has some pointers on what I
> have to do to resolve grainy colors problem please let me know what I need
> to do.  Thank you.

How about posting a screen shot somewhere?  It's not very clear what
you mean here.

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.


pgpgwPaFhpP5g.pgp
Description: PGP signature


Grainy X Windows and KDE.

2005-02-16 Thread Dmitri Furman
Dear FreeBSD experts.  Your help with this would be greatly appreciated. I 
spent a week now trying to setup FreeBSD on my Dell Dimension 8200 Desktop.  
Most of the time was spent setting up Xorg to work.  I have Nvidia video 
card GeForce MX4400 with 32 MB or RAM.  I had to rebuild kernel to make 
Nvidia driver work.  I am able to run in 1024x768 mode but picture is really 
grainy.  I specified depth at 24 and also tried 32.  I have a 15" Flat Panel 
monitor.  If anyone had any luck or has some pointers on what I have to do 
to resolve grainy colors problem please let me know what I need to do.  
Thank you.

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


Re: Running news.expire - permission denied...

2005-02-16 Thread Jonathan Chen
On Wed, Feb 16, 2005 at 07:50:38PM +0100, Kiffin Gish wrote:
> In my daily run output email, I get the following error message:
> 
> "Running news.expire: /etc/periodic/daily/330.news: /etc/news.expire:
> Permission denied"

/etc/news.expire needs to be an executable program/script.
-- 
Jonathan Chen <[EMAIL PROTECTED]>

"We laugh in the face of danger, we drop icecubes down the vest of fear"
 - Edmond Blackadder III
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Stop in /usr/obj/usr/src/sys/GENERIC

2005-02-16 Thread Jason Henson
On 02/16/05 18:20:12, Andy Firman wrote:
I have a 5.3-stable system that I am trying to update.
This is my stable-supfile:
*default host=cvsup14.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_5
*default delete use-rel-suffix
src-all
ports-all tag=.
doc-all tag=.
These are the 7 commands I do to update the system:
cvsup -g -L 2 stable-supfile
cd /usr/src
make buildworld
make buildkernel
make installkernel
mergemaster
make installworld
Do you really do that, or something like
make buildkernel KERNCONF=FUBAR
Also try to use mergemaster -p before you install, and after the build 
(does it have to be after?).


When I do the make buildkernel I get this:
mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
-Werror
/usr/src/sys/dev/aic7xxx/aic7xxx.c
/usr/src/sys/dev/aic7xxx/aic7xxx.c: In function `ahc_alloc':
/usr/src/sys/dev/aic7xxx/aic7xxx.c:3854: error: `ahd' undeclared
(first use in this function)
/usr/src/sys/dev/aic7xxx/aic7xxx.c:3854: error: (Each undeclared
identifier is reported only
once
/usr/src/sys/dev/aic7xxx/aic7xxx.c:3854: error: for each function it
appears in.)
*** 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.
I noticed during the cvsup some aic7xxx stuff was pulled down.
Is this question for the current or ports list?
Current or questions.  You may have a bad file(corrupted), bad memory,  
a choice of cvsup server?

What are your make.conf options?  If make.conf is generic I would  
delete /usr/src/sys/dev, maybe /usr/src/* if there are other problem  
areas.  Do you always get random errors, or is it in the same spot?  If  
it fails randomly you may have a hardware problem.

BTW, do you really what a generic kernel?  

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


RE: FSCK on Reboot

2005-02-16 Thread Subhro
Read through the @reboot tag of cron.

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Matt LaPlante
> Sent: Thursday, February 17, 2005 4:11
> To: freebsd-questions@freebsd.org
> Subject: FSCK on Reboot
> 
> Right now I've got a server running FreeBSD 4.11.  My question is, is
> there a way to automatically run fsck on a system reboot, without
> having to go through the process of sitting at the computer, changing
> the run level, etc, etc. Clearly it's beneficial in a work environment
> to be able to wait till night hours to run such operations, but I
> personally have no desire to hang around the office until midnight
> just to run a file system check.  I know on any Windows machine this
> is easily accomplished by running chkdsk and answering "y" when it
> prompts if you want the system checked on the next reboot...you can go
> home, wait till midnight, and reboot the system, it will automatically
> check itself and come back online.  Can this be accomplished in
> FreeBSD?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"


smime.p7s
Description: S/MIME cryptographic signature


Re: Updating Ports

2005-02-16 Thread Donald J. O'Neill
On Wednesday 16 February 2005 06:10 pm, epilogue wrote:
> On Wed, 16 Feb 2005 17:17:09 -0600
>
> "Cody Holland" <[EMAIL PROTECTED]> wrote:
> > After running cvsup, I then ran portdb -Uu and received the
> > following error.
> >
> > Updating the ports index ... Generating INDEX.tmp - please
> > wait..gnustep-slideshow-0.3: "/usr/ports/graphics/slideshowkit"
> > non-existent -- dependency list incomplete
> > ===> graphics/gnustep-slideshow failed
> > *** Error code 1
> > 1 error
> >
> > *** Error code 1
> >
> > Stop in /usr/ports.
> > *** Error code 1
> >
> > Stop in /usr/ports.
> > failed to generate INDEX!
> > portsdb: index generation error
> >
> > How do I fix this?
>
> hello cody,
>
> note:  this is not a fix, but an alternative:
>
> rather than building your copy of INDEX locally, you can
>
>   cd /usr/ports && make fetchindex
>
> this will download a precompiled copy INDEX.  while this one is not
> guaranteed to *exactly* match your local tree (although it might), it
> is sufficiently fresh that you are not likely to bump into any INDEX
> related problems.  if i had to guess as to its reliability, i would
> say that it works 99.978592% of the time.
>
> this precompiled copy is rebuilt by the servers every 2 hours (or
> less), so if you ever do bump into a problem, you can just wait a bit
> and pull down a newer version (or build it locally).
>
> the advantage you ask?  well, downloading the INDEX takes only the
> time required for your connection to pull down a ~700 k file, whereas
> building INDEX locally usually takes 30-60 minutes, not to mention,
> quite a few CPU cycles.
>
> anyhoo.  food for thought.
>
>
> cheers,
> epi
>
Gee, I did that this morning - make fetchindex that is - and when I ran 
"portversion -vL=" I learned that 14 of the installed packages were to 
advanced and I needed to go backwards. I wonder when that INDEX-5 was 
built.

Three ways to get around it:
1) rm -r /usr/ports/graphics/gnustep-slideshow
Then run portdb

2) There is an error in the Makefile, go in and fix it. It was reported
on ports@

3) Ignore it until it's fixed in a couple of days.

Don

-- 
Donald J. O'Neill
[EMAIL PROTECTED]

I'm not totally useless,
I can be used as a bad example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Festival and vchans

2005-02-16 Thread Zeng Nan
On Wed, Feb 16, 2005 at 11:41:16AM -0600, Chad Albert wrote:
> 
> 
> I recently set "hw.snd.pcm0.vchans=4" on a FreeBSD 5.3 box and now when
> I try to get festival to speak I just get silence.  I can play sound
> files with sox and if I copy a file to /dev/dsp I get noise as I would
> expect.  Festival worked before I turned on virtual channels but now I
> get nothing.  I have set festival's Audio_Method to freebsd16audio and
> that does not work.  When I set it to netaudio I get what sounds like
> "slow motion" speaking.  Has anyone seen/solved this before?
>  

I'm not sure what your problem is. I have the same vchans setting and I
use nasd as output method. It works fine. I use mwm voice by default.
-- 
Zeng Nan   
Simple is Beautiful.

PGP Key:  http://hobbit.homeunix.org


pgp4yxcZN9p42.pgp
Description: PGP signature


Re: IMAP no longer authorizing

2005-02-16 Thread Pat Maddox
It turns out that the authlibmysql.so file wasn't there anymore...it
doesn't get deleted every time the machine reboots, does it?  That
wouldn't make any sense.


On Wed, 16 Feb 2005 19:35:08 -0700, Pat Maddox <[EMAIL PROTECTED]> wrote:
> I've had Courier-IMAP working great with a MySQL database for over a
> week now.  I just rebooted my machine for the first time, and now I
> can't auth at all.  It just rejects every password, maillog says that
> the login attempt failed every time.  I've got no idea at all why this
> is happening.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IMAP no longer authorizing

2005-02-16 Thread Pat Maddox
I've had Courier-IMAP working great with a MySQL database for over a
week now.  I just rebooted my machine for the first time, and now I
can't auth at all.  It just rejects every password, maillog says that
the login attempt failed every time.  I've got no idea at all why this
is happening.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Configuring PF

2005-02-16 Thread Pat Maddox
I've managed to come up with something that works so far.  I am having
two problems though.

The first is that I can't authenticate for IMAP anymore.  No clue why,
it just keeps rejecting my password.  maillog shows imapd: LOGIN
FAILED, that's it.

Also, after enabling pf, all my UDP ports show as open.  I've got a ruleset of
block in log on $ext_if proto udp all

So all UDP ports should be shown as closed.  Doesn't really make any
sense to me.  Anyone care to help?

Thanks for the help so far.

Pat


On Wed, 16 Feb 2005 13:26:37 +0100, Volker Kindermann <[EMAIL PROTECTED]> wrote:
> Hi Pat,
> 
> 
> > Is there any place I can find a good default ruleset for a server, and
> > just change what ports I want open?
> 
> pf originates at openbsd. There you'll find lots of documentation, the
> pf-faq, and the (as always in the BSD world) excellent manpages.
> 
> In addition there's the pf-repository at: https://solarflux.org/pf/
> 
> And there are some books which include examples.
> 
> 
> > Also, I've noticed that some rulesets will have different flags and
> > keep state on for certain TCP ports, but not others.  For example, at
> > https://www.section6.net/help/pf.php I found:
> > #WebServer, HTTPS, 8000
> > pass in on $extif proto tcp from any to any port 80 flags S/SA
> > pass in on $extif proto tcp from any to any port $tcp_services flags
> > S/SA synproxy state
> >
> > tcp_services is {22, 443}
> >
> > I don't understand why they use synproxy state for 22 and 443, but not 80
> 
> Because synproxy as a security feature has a drawback: speed. Do you
> understand what synproxy does? It completes the three-way-handshake at
> the firewall first and only if this succeds it forwards the connection
> to the (web)server. This takes some small amount of time.
> 
> Acceptable with protocolls like ssh and https but mostly unacceptable
> with http.
> 
>   -volker
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't reboot after messing up my rc.conf file

2005-02-16 Thread Jamie Novak
I may have missed something from the thread before I joined the list,
but is there any reason you can't just mount the filesystems and use vi
as you're used to? If you're getting far enough in the boot process to
get an opportunity to interact with a shell, you should just be able to
mount -a and vi whatever. (Or, if you want to play it safe (or if the
system wasn't cleanly shutdown before), fsck and then mount -a)

Otherwise, Chris Hodgins' suggestion of mv'ing the old file out of the
way and echoing variables into a new one is probably what I'd do. I hate
ed.

On Wed, 2005-02-16 at 13:42, aklist_061666 wrote:

> Hi All:
>
> I was editing my rc.conf file and left off a quote mark, and now when
> I try to reboot I get an error and am prompted to drop into shell to
> fix it.
>
> The default prompt is /bin/sh, and if I hit return I get a prompt.
>
> How can I edit the file while I'm in that prompt? VI doesn't work...is
> there another text editor I can use to fix the file?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't reboot after messing up my rc.conf file

2005-02-16 Thread Chris Hodgins
Mike Jeays wrote:
On Wed, 2005-02-16 at 13:42, aklist_061666 wrote:
Hi All:
I was editing my rc.conf file and left off a quote mark, and now when I try 
to reboot I get an error and am prompted to drop into shell to fix it.

The default prompt is /bin/sh, and if I hit return I get a prompt.
How can I edit the file while I'm in that prompt? VI doesn't work...is there 
another text editor I can use to fix the file?

TIA 

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

/bin/ed
Be prepared with a printed manual and a wet towel for your head!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Or you could just simply:
# /bin/mv /etc/rc.conf /etc/rc.conf.bad
# /bin/echo "=" >> /etc/rc.conf
This will give you a nice new rc.conf that you can edit once you are up 
and running again.

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


Re: emacs on freebsd 5.3

2005-02-16 Thread Greg 'groggy' Lehey
On Wednesday, 16 February 2005 at 17:32:07 -0800, Tony Tung wrote:
> On Thu, 17 Feb 2005, Greg 'groggy' Lehey wrote:
>
>> On Wednesday, 16 February 2005 at 17:20:24 -0800, Tony Tung wrote:
>>>
>>> Hi,
>>>
>>> I have an unusual problem I was hoping someone could help me with.  I have
>>> a FreeBSD 5.3 server that's been up for longer than a month.  In that
>>> period, everything seemed fine.  However, all of a sudden, I'm no longer
>>> able to spawn a shell in emacs.  In fact, I cannot start any process
>>> (shell, gdb, grep, compile) inside emacs.  It is happening to all the
>>> users, which makes me wonder if there's some OS-related issue in play
>>> here.
>>>
>>> I've tried restarting emacs, bypassing the emacs startup file,
>>> reinstalling emacs, and just about everything I could think of short of
>>> restarting the server (don't want to do that until I'm physically
>>> present).
>>
>> It would be worth attaching a ktrace to the Emacs to see what it's
>> doing.  Something like this:
>>
>> ...
>>
>> You should then look for a call to fork or execve and see what errors
>> are returned.
>
> Strangely enough, that seems to have fixed the problem.  Other users are
> seeing a return to "normal" behavior as well.

That shouldn't have made any difference.  It was just to help you find
the problem.  Looks like it has escaped.

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.


pgpTp1suMJWeN.pgp
Description: PGP signature


Re: emacs on freebsd 5.3

2005-02-16 Thread Tony Tung
On Thu, 17 Feb 2005, Greg 'groggy' Lehey wrote:
On Wednesday, 16 February 2005 at 17:20:24 -0800, Tony Tung wrote:
Hi,
I have an unusual problem I was hoping someone could help me with.  I have
a FreeBSD 5.3 server that's been up for longer than a month.  In that
period, everything seemed fine.  However, all of a sudden, I'm no longer
able to spawn a shell in emacs.  In fact, I cannot start any process
(shell, gdb, grep, compile) inside emacs.  It is happening to all the
users, which makes me wonder if there's some OS-related issue in play
here.
I've tried restarting emacs, bypassing the emacs startup file,
reinstalling emacs, and just about everything I could think of short of
restarting the server (don't want to do that until I'm physically
present).
It would be worth attaching a ktrace to the Emacs to see what it's
doing.  Something like this:
 $ ps aux | grep emacs
 root12978  0.0  1.3 12880 9832  p5  R 8Oct04 222:09.31 emacs
 $ ktrace -i -p 12978
 (in Emacs, do your thing)
 $ ktrace -C -p 12978
 $ kdump | less
You should then look for a call to fork or execve and see what errors
are returned.
Greg
Hi,
Strangely enough, that seems to have fixed the problem.  Other users are 
seeing a return to "normal" behavior as well.

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


Re: emacs on freebsd 5.3

2005-02-16 Thread Greg 'groggy' Lehey
On Wednesday, 16 February 2005 at 17:20:24 -0800, Tony Tung wrote:
>
> Hi,
>
> I have an unusual problem I was hoping someone could help me with.  I have
> a FreeBSD 5.3 server that's been up for longer than a month.  In that
> period, everything seemed fine.  However, all of a sudden, I'm no longer
> able to spawn a shell in emacs.  In fact, I cannot start any process
> (shell, gdb, grep, compile) inside emacs.  It is happening to all the
> users, which makes me wonder if there's some OS-related issue in play
> here.
>
> I've tried restarting emacs, bypassing the emacs startup file,
> reinstalling emacs, and just about everything I could think of short of
> restarting the server (don't want to do that until I'm physically
> present).

It would be worth attaching a ktrace to the Emacs to see what it's
doing.  Something like this:

  $ ps aux | grep emacs
  root12978  0.0  1.3 12880 9832  p5  R 8Oct04 222:09.31 emacs
  $ ktrace -i -p 12978
  (in Emacs, do your thing)
  $ ktrace -C -p 12978
  $ kdump | less

You should then look for a call to fork or execve and see what errors
are returned.

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.


pgppkF260vCAO.pgp
Description: PGP signature


emacs on freebsd 5.3

2005-02-16 Thread Tony Tung
Hi,
I have an unusual problem I was hoping someone could help me with.  I have 
a FreeBSD 5.3 server that's been up for longer than a month.  In that 
period, everything seemed fine.  However, all of a sudden, I'm no longer 
able to spawn a shell in emacs.  In fact, I cannot start any process 
(shell, gdb, grep, compile) inside emacs.  It is happening to all the 
users, which makes me wonder if there's some OS-related issue in play 
here.

I've tried restarting emacs, bypassing the emacs startup file, 
reinstalling emacs, and just about everything I could think of short of 
restarting the server (don't want to do that until I'm physically 
present).

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


Questions with configuring multiple NIC's

2005-02-16 Thread J Ramos
Hello,
I'm currently running 5.3 on a HP Pavillion ze4420us laptop. Pretty much 
everything that I would
like to get working works, with the exception of my NIC's. The onboard 
National Semiconductor DP83815/16 works fine by itself with the sis driver. 
I have 2 pcmcia wireless ethernet cards, that
"work." Linksys WPC11 v4 wireless B card is recognized via XP drivers and 
ndis, as is the
Netgear WG511, also through XP drivers and ndis. I'm having a tough time 
getting the wireless
cards configured correctly with ifconfig. I believe that the problem is with 
the netmasks. Seems
like I read somewhere that 2 NIC's on the same machine connected to the same 
network may
not share the same netmask. One should be 255.255.255.0 and the other should 
be
255.255.255.255. sis driver support is built in to the kernel, GENERIC 
kernel from install, which
I will probably have to rebuild shortly. Not being able to kldunload the si 
and if_sis modules
keeps sis0 constantly in ifconfig. If I unplug the cable and try to run only 
a wireless card, it doesn't
seem to work correctly. ifconfig'ing ndis0 to a good ip and 255.255.255.0 
netmask says the
network is down when trying to ping the router. Using the 255.255.255.255 
netmask with ndis0,
pinging the router  leads to "ping: sendto: Host is down." However, the 
interesting thing is that
I get a message from arp, "io kernel: arp: 192.168.1.1 is on sis0 but got 
reply from
00:09:5b:dd:c4:f8 ( the router mac address) on ndis0." Although sis0 is not 
on the network, my
machine is acting like it since sis0 can be disabled, but the modules can't 
be unloaded. Here's my
point...

Would I be better off rebuilding a kernel with sis driver support not built 
in, but instead loading
the modules and ifconfig'ing only the interface I need at that point in 
time, and if I need to change,
just unload the modules I don't need, and load the ones I do, then ifconfig 
the new active
interface?

There may be a more elegant solution, and I'd be happy to hear them, or any 
links or man pages
that I probably overlooked.

Thanks much,
Josh 

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


Re: ipfilter outgoing

2005-02-16 Thread Sandy Rutherford
> On Sun, 13 Feb 2005 17:43:20 +0100, 
> Erik Norgaard <[EMAIL PROTECTED]> said:

 > dick hoogendijk wrote:
 >> I have configures pure-ftpd to use a restrict set op known ports to the
 >> outside.
 >> I also openen up 5999 already.
 >> 
 >> Most problems I encounter are for streaming media. This is blocked most
 >> of the time. Are these random ports or always the same?

 > Dunno, I think they are, but it is badly documented as these are 
 > proprietary protocols. google port numbers, some lists are more 
 > extensive than /etc/services

You can also put some log statements into your firewall rules to
figure out what you are blocking that you really would like to pass.

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


Re: trouble printing

2005-02-16 Thread Dominik Epple
On Mon, Feb 14, 2005 at 10:40:19PM -0600, Brian John wrote:
> help me get started setting this up?  Is there any hope that I will be 
> able to get this printer to work as well

Perhaps.

> (and easy)

No. Blame HP. 

> as it works in Windows?

The (not very helpful) point to learn from this is: When buying a
printer, select the model/manufactorer with regard to whether (and
how) it can be used with your favourite OS.

Usually, nowadays it is very easy to get printers to work which speak
either some kind of PCL or Postscript. Most of todays printers do.
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mlock: not setgid mail

2005-02-16 Thread Vonleigh Simmons
On Wed, Feb 16, 2005 at 04:04:55AM -0800, Vonleigh Simmons wrote:
I asked this question before but I haven't found a solution. I'm
getting in my mail log the following entry repeated:
usr/local/libexec/mlock[755]: (64) not setgid mail
And I can't figure out what it's complaining about. Below is the
previous thread questions which ruled out some things. Any help
resolving this issue is greatly appreciated.

While looking at that thread again I found this also from Dan Nelson:
---
The code that does the check is this:
  struct group *grp = getgrnam ("mail");
  if (!grp || (grp->gr_gid != getegid ())) die ("not setgid 
mail",EX_USAGE);
---
	Looking up the man pages I see that getegid gets the group id of the 
calling process.

	What is the calling process to mlock?  I tried setting ipop2d, ipop3d 
and imapd to group mail but that didn't change anything.

Vonleigh Simmons

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


Re: Updating Ports

2005-02-16 Thread epilogue
On Wed, 16 Feb 2005 17:17:09 -0600
"Cody Holland" <[EMAIL PROTECTED]> wrote:

> After running cvsup, I then ran portdb -Uu and received the following
> error.
> 
> Updating the ports index ... Generating INDEX.tmp - please
> wait..gnustep-slideshow-0.3: "/usr/ports/graphics/slideshowkit"
> non-existent -- dependency list incomplete
> ===> graphics/gnustep-slideshow failed
> *** Error code 1
> 1 error
> 
> *** Error code 1
> 
> Stop in /usr/ports.
> *** Error code 1
> 
> Stop in /usr/ports.
> failed to generate INDEX!
> portsdb: index generation error
> 
> How do I fix this?

hello cody,

note:  this is not a fix, but an alternative:

rather than building your copy of INDEX locally, you can

cd /usr/ports && make fetchindex

this will download a precompiled copy INDEX.  while this one is not
guaranteed to *exactly* match your local tree (although it might), it is
sufficiently fresh that you are not likely to bump into any INDEX
related problems.  if i had to guess as to its reliability, i would
say that it works 99.978592% of the time.

this precompiled copy is rebuilt by the servers every 2 hours (or less),
so if you ever do bump into a problem, you can just wait a bit and pull
down a newer version (or build it locally).

the advantage you ask?  well, downloading the INDEX takes only the time
required for your connection to pull down a ~700 k file, whereas
building INDEX locally usually takes 30-60 minutes, not to mention,
quite a few CPU cycles.

anyhoo.  food for thought.


cheers,
epi

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


Re: UDMA ICRC error

2005-02-16 Thread Rob

--- Ramiro Aceves <[EMAIL PROTECTED]> wrote:

> Rob wrote:
> > Ramiro Aceves wrote:
> > 
> >>I have read that others had this problem before. I
> >>just write this report for you to know.
> >>
> >>When I installed FreeBSD 5.3 R, I get some errors
> >>like this, but I could end the install:
> >>
> >>ad0: WARNING -READ_DMA UDMA ICRC error (retrying 
> >>request) LBA=5313599
> >>ad0: FAILURE -READ_DMA status=51
> >>error=84 >ICRC,ABORTED>
> >>spec_getpages:(ad0s1a) I/O read failure: (error=5)
> >>
> >>
> >>I have solved the problem disabling DMA:
> >>hw.ata.ata_dma="0"
> >>
> > 
> > It's indeed a serious problem, but too few people
> > running 5.3 seem to suffer from this.
> > 
> > Have you tried with 4.11?
> > I bet that would not generate these problems.
> > 
> 
> Thanks, I see that we are not alone!
> 
> I have not got a 4.11 CDROM here. I could test it on
> 4.10 if you think 
> it is important, I have a 4.10 CDROM here. My
> internet is too slow to 
> dowload a full CDROM at home. I can download 4.11
> install CDROM on the 
> computers at University if it worths the effort.

No, no need for that. It's already confirmed that
4.X does not have this problem.

However, recently there's a 'ATA mkIII' patch around,
which seems to also solve this problem. Follow the
discussion on -stable mailinglist for further
details.
I'm not yet sure whether you have to upgrade first
to "5-STABLE" before applying this patch.

Rob.



__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Updating Ports

2005-02-16 Thread Andy Firman
On Wed, Feb 16, 2005 at 05:17:09PM -0600, Cody Holland wrote:
> After running cvsup, I then ran portdb -Uu and received the following
> error.
> 
> Updating the ports index ... Generating INDEX.tmp - please
> wait..gnustep-slideshow-0.3: "/usr/ports/graphics/slideshowkit"
> non-existent -- dependency list incomplete
> ===> graphics/gnustep-slideshow failed
> *** Error code 1
> 1 error
> 
> *** Error code 1
> 
> Stop in /usr/ports.
> *** Error code 1
> 
> Stop in /usr/ports.
> failed to generate INDEX!
> portsdb: index generation error
> 
> How do I fix this?

Same thing just happened to me and searching on the web told me
to run "make fetchindex".  Worked for me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mlock: not setgid mail

2005-02-16 Thread Vonleigh Simmons
On Wed, Feb 16, 2005 at 04:04:55AM -0800, Vonleigh Simmons wrote:
I asked this question before but I haven't found a solution. I'm
getting in my mail log the following entry repeated:
usr/local/libexec/mlock[755]: (64) not setgid mail
And I can't figure out what it's complaining about. Below is the
previous thread questions which ruled out some things. Any help
resolving this issue is greatly appreciated.

Dan Nelson posted this in reply to your question:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/ 
067214.html
And I responded (next in thread):


	Since then I've rebuilt imap-uw, so now my permissions for mlock are  
as follows today:

-rwx--s--x  1 root  mail  5808 Feb 15 07:11 /usr/local/libexec/mlock
Vonleigh Simmons

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


Re: UDMA ICRC error

2005-02-16 Thread Ramiro Aceves
Peter Risdon wrote:
On Wed, 2005-02-16 at 06:31 -0800, Rob wrote:
Ramiro Aceves wrote:
I have read that others had this problem before. I
just write this report for you to know.
When I installed FreeBSD 5.3 R, I get some errors
like this, but I could end the install:
ad0: WARNING -READ_DMA UDMA ICRC error (retrying 
   request) LBA=5313599
ad0: FAILURE -READ_DMA status=51
   error=84 >ICRC,ABORTED>
spec_getpages:(ad0s1a) I/O read failure: (error=5)


I have solved the problem disabling DMA:
hw.ata.ata_dma="0"
(I previously tried disabling ACPI with no success,
and playing with BIOS LBA, LARGE, NORMAL settings
at the BIOS with no success).
Now ad0: works in PIO4 mode and everything is fine,
previously , it was UDMA33. Now there are no errors.
There's you and me now. I have this problem with two
of my PCs. I don't know yet of anybody else who has
these problems.
It's indeed a serious problem, but too few people
running 5.3 seem to suffer from this.

No, it's a known problem and I filed a pr about it a while back. So far
as I know, there's been no action on the pr and disabling dma is the
only workaround.
Have you tried with 4.11?
I bet that would not generate these problems.

Agreed.
Peter.

Hi Peter!
Thank you very much for the usefull information.
We will keep in touch for any news.
Ramiro.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: UDMA ICRC error

2005-02-16 Thread Ramiro Aceves
Rob wrote:
Ramiro Aceves wrote:
I have read that others had this problem before. I
just write this report for you to know.
When I installed FreeBSD 5.3 R, I get some errors
like this, but I could end the install:
ad0: WARNING -READ_DMA UDMA ICRC error (retrying 
   request) LBA=5313599
ad0: FAILURE -READ_DMA status=51
   error=84 >ICRC,ABORTED>
spec_getpages:(ad0s1a) I/O read failure: (error=5)


I have solved the problem disabling DMA:
hw.ata.ata_dma="0"
(I previously tried disabling ACPI with no success,
and playing with BIOS LBA, LARGE, NORMAL settings
at the BIOS with no success).
Now ad0: works in PIO4 mode and everything is fine,
previously , it was UDMA33. Now there are no errors.

There's you and me now. I have this problem with two
of my PCs. I don't know yet of anybody else who has
these problems.
It's indeed a serious problem, but too few people
running 5.3 seem to suffer from this.
Have you tried with 4.11?
I bet that would not generate these problems.
Thanks, I see that we are not alone!
I have not got a 4.11 CDROM here. I could test it on 4.10 if you think 
it is important, I have a 4.10 CDROM here. My internet is too slow to 
dowload a full CDROM at home. I can download 4.11 install CDROM on the 
computers at University if it worths the effort.

Please let me know.
Ramiro.

Regards,
Rob.
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: Updating Ports

2005-02-16 Thread Marijn van Vliet
try:
pkgdb -F
--
Marijn van Vliet,
[EMAIL PROTECTED]
http://lassie.student.utwente.nl/rodin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Updating Ports

2005-02-16 Thread Cody Holland
After running cvsup, I then ran portdb -Uu and received the following
error.

Updating the ports index ... Generating INDEX.tmp - please
wait..gnustep-slideshow-0.3: "/usr/ports/graphics/slideshowkit"
non-existent -- dependency list incomplete
===> graphics/gnustep-slideshow failed
*** Error code 1
1 error

*** Error code 1

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

Stop in /usr/ports.
failed to generate INDEX!
portsdb: index generation error

How do I fix this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: installing java on a box?

2005-02-16 Thread Pat Maddox
Hi Ken,

The best thing I saw on installing Java is below.  It worked flawlessly.

http://www.brettsbsd.net/~estrabd/blog/index.php?/archives/21_Java_1.4_on_FreeBSD_4.10_in_8_steps.html

Pat


On Wed, 16 Feb 2005 11:20:04 -0500, Ken Hawkins <[EMAIL PROTECTED]> wrote:
> I have seen a few things on how to do this however I can't find the
> java file:j2sdk-1_3_1_14-linux-i586.bin
> 
> on any of sun's servers.
> 
> in lieu of what I have been doing how can i install java on a FreeBSD
> box?
> 
> thanks,
> 
> ken;
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FSCK on Reboot

2005-02-16 Thread Kris Kennaway
On Wed, Feb 16, 2005 at 05:40:42PM -0500, Matt LaPlante wrote:
> Right now I've got a server running FreeBSD 4.11.  My question is, is
> there a way to automatically run fsck on a system reboot, without
> having to go through the process of sitting at the computer, changing
> the run level, etc, etc. Clearly it's beneficial in a work environment
> to be able to wait till night hours to run such operations, but I
> personally have no desire to hang around the office until midnight
> just to run a file system check.  I know on any Windows machine this
> is easily accomplished by running chkdsk and answering "y" when it
> prompts if you want the system checked on the next reboot...you can go
> home, wait till midnight, and reboot the system, it will automatically
> check itself and come back online.  Can this be accomplished in
> FreeBSD?

fsck will be run at boot time if the system needs to run it
(i.e. unclean shutdown).  See the rc.conf manpage for relevant options
for rc.conf.  Unlike Windows, you don't need to run fsck regularly as
a regular maintenance measure.

Kris


pgp0UgKxkpha3.pgp
Description: PGP signature


Stop in /usr/obj/usr/src/sys/GENERIC

2005-02-16 Thread Andy Firman

I have a 5.3-stable system that I am trying to update.

This is my stable-supfile:

*default host=cvsup14.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_5
*default delete use-rel-suffix
src-all
ports-all tag=.
doc-all tag=.

These are the 7 commands I do to update the system:

cvsup -g -L 2 stable-supfile
cd /usr/src
make buildworld
make buildkernel
make installkernel
mergemaster
make installworld

When I do the make buildkernel I get this:

mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror  
/usr/src/sys/dev/aic7xxx/aic7xxx.c
/usr/src/sys/dev/aic7xxx/aic7xxx.c: In function `ahc_alloc':
/usr/src/sys/dev/aic7xxx/aic7xxx.c:3854: error: `ahd' undeclared (first use in 
this function)
/usr/src/sys/dev/aic7xxx/aic7xxx.c:3854: error: (Each undeclared identifier is 
reported only 
once
/usr/src/sys/dev/aic7xxx/aic7xxx.c:3854: error: for each function it appears 
in.)
*** 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.


I noticed during the cvsup some aic7xxx stuff was pulled down.

Is this question for the current or ports list?

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


Re: vinum vs. DPT smartcacheIV raid

2005-02-16 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

> X-Mailer: SquirrelMail/1.4.3a

This seems to have difficulty wrapping quotes.

On Wednesday, 16 February 2005 at 10:52:24 -0500, Ean Kingston wrote:
>
>> On Wed, Feb 16, 2005 at 09:58:17AM -0500, Ean Kingston wrote:
>>>
 I have a box with DPT PM2044 SmartCacheIV UW-SCSI PCI cards which
 can do RAID-5 in hardware, but I'd have to use the DOS volume
 manager to set up the array. I have heard reports that vinum
 woudl be faster than using the native card. Is this true?
>>>
>>> Doubtful, though I have heard that there are some rare special
>>> circumstances where software raid can be faster.

Recall that there are no real hardware RAID controllers on the
market.  The difference is whether you have a special processor on the
controller card or not.  To determine which is faster, you need to
compare the hardware on the card and the hardware in the system.
>> The reason I asked is because
>> http://www.shub-internet.org/brad/FreeBSD/vinum.html
>
> I did not know that. Interesting read.

>> suggests vinum can be marginally better than the hardware raid on
>> the smartraid range of cards (which have an even faster processor
>> onboard than the smartcache range). The CPU platform is more or
>> less comparable.  Then again it is with old Fbsd, so I don't know
>> how accurate that is.

I'd guess that the version of FreeBSD is no particular relevance.

> You may have noticed that there were comments about not trusting
> vinum's RAID5 support in that article.

You'll also note that these claims are in no way substantiated.  It's
word of mouth:

> However, I still don't trust RAID-5 under vinum (it has had a long
> and colorful history of surprisingly negative interactions with
> software that it should not, such as "softupdates"),

There is in fact no substantiation whatsoever for this claim.
problems have been reported that suspected either Vinum or soft
updates, and which were frequently related to neither.  We have no
reason to believe that there was ever the kind of problem he's talking
about here.

> and I have not yet had a chance to test vinum under failure mode
> conditions (where at least one disk of a RAID set has failed).

I have.  It works.  There appears to be a bug in reintegrating disks
with a live file system, so it should be unmounted first.

(end of quotation).

> If you are using FreeBSD 5.3, the default is now gvinum (sort of
> second generation of vinum). The gvinum tools don't give you the
> ability to create RAID5 virutal disks so if that is what you want,
> you may not want to go with vinum or gvinum.

I'm not sure what you mean here.  I haven't tried RAID-5 on gvinum,
but it's the first time I've heard that it's not supported.

> Another thing to consider is if you use software RAID and your
> application gets CPU bound, you are going to take a double
> performance hit (both disk and cpu).

One or the other.  It's a tradeoff.

[54 lines extraneous text in original removed]

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.


pgpiegA6yPsDd.pgp
Description: PGP signature


Re: can't reboot after messing up my rc.conf file

2005-02-16 Thread Mike Jeays
On Wed, 2005-02-16 at 13:42, aklist_061666 wrote:
> Hi All:
> 
> I was editing my rc.conf file and left off a quote mark, and now when I try 
> to reboot I get an error and am prompted to drop into shell to fix it.
> 
> The default prompt is /bin/sh, and if I hit return I get a prompt.
> 
> How can I edit the file while I'm in that prompt? VI doesn't work...is there 
> another text editor I can use to fix the file?
> 
> TIA 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

/bin/ed

Be prepared with a printed manual and a wet towel for your head!

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


Re: vinum vs. DPT smartcacheIV raid

2005-02-16 Thread Willem Jan Withagen
Peter C. Lai wrote:
I have a box with DPT PM2044 SmartCacheIV UW-SCSI PCI cards which can do 
RAID-5 in hardware, but I'd have to use the DOS volume manager to set up 
the array. I have heard reports that vinum woudl be faster than using the 
native card. Is this true? Should I not bother with doing the hardware raid 
and just go with vinum?

The rest of the system is a k6-2 400mhz with 256mb ram (amount might change).
I will also have moderate network i/o on the pci bus (obviously).
I still have one here lingering around somewhere on a shelf. It ran a 
4*1Gb diskarray RAID-5 when 1GB disk where still sort of big. So that is 
how old this card is.

With that I did have some unplesant experiences with this card:
- First and most major it seems that you need to have the right version 
firmware in it. Otherwise things might get seriously hossed at 
unexpected times. Just buffers timing out in the middle of the night.
- The other issue was that my disk where in an external cabinet and once 
the cable came loose. It killed the raid as expected, but it took me a 
long time to find some tools to force the disk up the brute way. Just to 
see if I could recover some of the data.
And like you say: Al these tools are DOS based.

Currently I'm running a 4*60Gb ATA RAID5 with old vinum on a 233 MHZ P2, 
256Mb with FBSD 5.1. This ATA just because ATA disk are so much cheaper 
per MB, and I do not need utmost dependability for my 6 PC office.
I've ordered 4*250Gb ATA disks this week to build a new RAID5, and I'll 
go again for vinum.

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


FSCK on Reboot

2005-02-16 Thread Matt LaPlante
Right now I've got a server running FreeBSD 4.11.  My question is, is
there a way to automatically run fsck on a system reboot, without
having to go through the process of sitting at the computer, changing
the run level, etc, etc. Clearly it's beneficial in a work environment
to be able to wait till night hours to run such operations, but I
personally have no desire to hang around the office until midnight
just to run a file system check.  I know on any Windows machine this
is easily accomplished by running chkdsk and answering "y" when it
prompts if you want the system checked on the next reboot...you can go
home, wait till midnight, and reboot the system, it will automatically
check itself and come back online.  Can this be accomplished in
FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sockstat -4 not showing all open ports for apache2

2005-02-16 Thread Grant Cooper
I just installed apache 2 and was trying to see if port 80 was open by doing
a sockstat -4 but I couldn't see the port so I thought it didn't install
right. So I did a sockstat -6 and noticed port 80 is showing up for IPv6
sockets.

Is this a default feature for Apache 2 on freebsd.

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


Re: Error I received this morning...

2005-02-16 Thread Kris Kennaway
On Wed, Feb 16, 2005 at 10:41:14AM -0500, Mike Alich wrote:
> Can anyone tell me what this means?  I have been running my server for
> several months and no problems.
>  
> I just go this error.What do I need to fix it?
> --
> Feb 15 09:14:50 s1 /kernel: swap_pager: indefinite wait buffer: device:
> #da/0x20001, blkno: 712, size: 4096

This usually indicates a dying disk.  Replace it.

Kris


pgpFOTqa4HGzS.pgp
Description: PGP signature


Re: multi-version jumpstart

2005-02-16 Thread Erik Norgaard
Jamie Novak wrote:
I'm able to get the jumpstart server to export the 5.3-RELEASE partition
and pass the GENERIC kernel and install.cfg over to the network-booting
machine, but when it comes time to actually NFS mount the install
partition on the target server to run the install, it returns an NFS
error:
mount_nfs -P 10.x.x.x:/releases/5.3-RELEASE/ /dist
mount_nfs: Can't update /var/db/mounttab for 
10.x.x.x:/releases/5.3-RELEASE
mount_nfs: /dist: operation not supported by device
I'm assuming the problem is related to the fact that the jumpstart
server is running 4.x-RELEASE, while the OS I'm trying to install on the
target server (and the kernel that's attempting to NFS mount the
partition) is from the 5.x line and they're fighting over mounttab
magic.
No I don't think so. This error has been mentioned also in a previous 
thread yesterday regarding diskless clients.

Does anybody know if this kind of thing is possible? If so, what did you
do to enable such a configuration to work? (Would it be possible to
install both 4.x and 5.x on network-booting clients if the jumpstart
server was 5.x instead of 4.x as it is now?)
I haven't tried with multi-version jumpstart, but I have used memory 
disk fetched with tftp and installed with ftp. Avoids the NFS mess. I 
wrote this into a howto:

   http://www.daemonsecurity.com/pxe/
Any feedback is appreciated.
(When I haven't submitted this yet, it's because I want to cover 
diskless also and I still haven't found good solutions for nfs mount of 
/var and there is a problem with using dhclient.)

Hope this helps.
Cheers, Erik
--
Ph: +34.666334818   web: http://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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Recomendations for Video Capture Cards

2005-02-16 Thread Jasvinder S. Bahra
Hi all,

I've recently had a PC become available, and I would like to set it up as a
kind of video recorder.

I would like to purchase a card of some sort that would allow me to connect
the PC to my TV, and record television programmes on the hard-drive. The
reverse also - playing back the recording, and viewing it on the TV.

Now, i've done a little research, and I understand that FreeBSD "provides
support for PCI-based TV cards using a Brooktree Bt848/849/878/879 or a
Conexant CN-878/Fusion 878a Video Capture Chip with the bktr(4) driver".

Does anyone have any recomendations on a video capture card that would be
suitable?

Has anyone done anything like this before? I presume so as the driver
already exists.

How successful (or otherwise), did the project turn out?

I realise there is lots of software in the ports collection that can provide
audio/video capture capabilities, but does anyone know of any that can be
scheduled to automatically start and stop capturing at predefined times? I
suppose I could use the crontab if the software supports command line
configuration...

Regards,

Jazz

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


Re: how to configure a port for install

2005-02-16 Thread Bob Ababurko
Peter Risdon wrote:
On Tue, 2005-02-15 at 11:48 +, Peter Risdon wrote:
On Mon, 2005-02-14 at 21:48 -0500, Bob Ababurko wrote:
Hello-
I am trying to figure out how to configure the portswhat I am trying 
to do is add mhash to my system that a new script needs and I have to 
add the --with-mhash=[dir] when I compile php.  Well I installed php 
with the ports and I am hoping to reinstall it with this added.  I have 
tried to add it to the Makefile under the configure options, but I got 
an error that said: "Unassociated shell command".  That obviously is not 
the right way.
Just install:
/usr/ports/security/php4-mhash
on top of your existing php installation.
An alternative is to install /lang/php4-extensions and check the
relevant boxes.

Ugh. errant slash:
install lang/php4-extensions
Peter.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe, send any mail to "[EMAIL PROTECTED]"

After installing php4-mhash, I cannot get apache to restart.
I cannot find anything in the logs, namely http-error.log probabl 
because apache needs to be started.  I am not finding anything in the 
/var/log/messages either.  When I start apache from the command line, it 
gives me the message the httpd has been started but there doesn't. 
What could be wrong?

btw, this is installing on apache WAIT a moment.  When I do a 
pkg_info, I get apache+mod_ssl-1.3.31+2.8.19.  Could that be my problem? 
 Does that mean that there are two versions of apache installed?  I do 
not remember doing thisas a matter of fact I know I did not do this.
Can someone shed some light on this for me?


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


Re: login error:cannot not find root directory

2005-02-16 Thread perikillo
   Yes, i check, the /root /.* but they looks correct, i check the
propierties and attr of that directory and files, but they look
correct. I dont know what more to check :-?

Another error i found is went i try to see a manpage the system
send this error:

mistake# man ls
/usr/libexec/ld-elf.so.1  "/usr/lib/libz.so.2"

   That cannot find that library, i check those files and they exist,
maybe went i was reparin my system i broke the link, could i repair
this???

   If i make the makeworld again could be fixed
   
   Thanks.

On Tue, 15 Feb 2005 11:14:02 -0800 (PST), Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> perikillo <[EMAIL PROTECTED]> writes:
> 
> >   Hi all.
> >   Look i was hardering my freebsd box 4.10 p5, but i made one mistake:
> > "I didnt test my system before i reboot"
> >
> >   I was reading some docs about "security", i use chflags on:
> >
> >   mistake# chflags schg /bin/*
> >   mistake# chflags schg /sbin/*
> >
> >   Them apply some chmod on /root files:
> >
> >mistake# chmod 0600 /root/.*  (i think :-?)
> >
> >   I was trying to make my root directory only visible by root user.
> > But dont remenber wich mod i apply. I made more changes but dont
> > remember all.
> >
> > The result was that went i try to access my box like normal user
> > (wheel group), the systema say:
> >   "error: cannot find root directory"
> >
> >Them i boot single-user, i input my password:
> >
> >  "init: single-user failed"
> >
> > Here i could not access my system, my God
> >
> >
> >   Ok, them get my 3 floppys, kern, mfs, and fixit .flp. I mount / to
> > access  my system:
> >
> >-delete the schg label on /bin and /sbin
> > mistake#chflags noschg /bin/*
> > mistake#chflags noschg /sbin/*
> >
> >  On the root directory, i change my .files attr:
> >
> > mistake# chmod 0644 /root/.*
> >
> > I change my ttys, to let root access the system: from insecure -> 
> > secure.
> >
> > I was checking other system with the same version 4.10 p5, and let
> > the files attributes on /root and / with the same attributes.
> >
> >  I dont touch the /kernel file, after this change root could
> > access the system, but the other users dont have access:
> >
> > "error: cannot find root directory".
> >
> >  This is my situation right now, could some one give some clues to
> > resolve this problem,  i dont want to install again the S.O, this
> > machine i working very well.
> >
> >I will apreciate any  clue. Thanks all for your time.
> 
> Check the permissions on "/.".
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Add Printer wizard grayed out?

2005-02-16 Thread Jason Zimberoff
Howdy all.

I just installed Free BSD 5.3 RELEASE on a PC based machine.  It is connected
to the LAN here at work. (Internet connectivity seems to be fine)

After installing KDE (this is the first time for me) I decided to try to 
install a printer. (KDE version 3.3)

All the docs say that I should try the "Add Printer Wizard" in the print
manager.  But when I go in there, and click on the "add" button, a drop down
menu appears.  

The first choice "Add Printer/Class" is grayed out.
The second line "Add Special (Pseudo) Printer" is available. (But I dont want
to do that)

Question:  what do I need to fix to get the first choice to not be grayed out?

Thanks!

-Zim




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


Re: ipf, ipnat and Bittorrent

2005-02-16 Thread Fabian Anklam
On Wed, 16 Feb 2005 13:04:28 -, Paul <[EMAIL PROTECTED]> wrote:
> I am trying to forward bittorrent ports on FreeBSD 5.3 with ipf and ipnat.
> But the bittorrent indicator stays yellow which means it isn't set up
> correctly.  Also, I don't get as many connections to peers as I should and
> download speeds are very poor.  My ipnat.rules and ipf.rules files are shown
> below:

Took some toying around for me as well to get it running. For
starters, Azureus is fine with one port only (set in Tools -> Options
-> Incoming TCP listen port) i use 50505.

>[...]
> 
> #bittorrent
> 
> rdr tun0 0/32 port 6881 -> 192.168.0.3 port 6881 tcp/udp
> 
> rdr tun0 0/32 port 6882 -> 192.168.0.3 port 6882 tcp/udp
> 
> rdr tun0 0/32 port 6883 -> 192.168.0.3 port 6883 tcp/udp
> 
> rdr tun0 0/32 port 6884 -> 192.168.0.3 port 6884 tcp/udp
> 
> rdr tun0 0/32 port 6885 -> 192.168.0.3 port 6885 tcp/udp
> 
> rdr tun0 0/32 port 6886 -> 192.168.0.3 port 6886 tcp/udp
> 
> rdr tun0 0/32 port 6887 -> 192.168.0.3 port 6887 tcp/udp
> 
> rdr tun0 0/32 port 6888 -> 192.168.0.3 port 6888 tcp/udp
> 
> rdr tun0 0/32 port 6889 -> 192.168.0.3 port 6889 tcp/udp
> 
> rdr tun0 0/32 port 6890 -> 192.168.0.3 port 6890 tcp/udp

The "Any IP on interface" for ipnat seems to be 0/0 instead of 0/32
and i am not sure if the tcp/udp keyword also works with ipnat. I use:

rdr xl0 0/0 port 50505 -> 192.168.0.11 port 50505 tcp
rdr xl0 0/0 port 50505 -> 192.168.0.11 port 50505 udp

and then in ipf.rules:

pass in quick on xl0 proto tcp from any to 192.168.0.11 port = 50505
flags S keep state
pass in quick on xl0 proto udp from any to 192.168.0.11 port = 50505 keep state

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


Re: Cvsup Source

2005-02-16 Thread Robert Huff

Daniel Bye writes:

>  > I've been using cvsup to upgrade the ports on my Freebsd box, and it
>  > works great.  My question is how often should you cvsup the src and do a
>  > buildworld?
>  
>  Subscribe to FreeBSD-security-notifications, and you will receive
>  mail when a fix is applied.  Other than that, it doesn't hurt to
>  run cvsup over your src tree once a week.  There's only need to
>  do a buildworld if any files are updated.  It's a strategy that
>  works well for me, anyway.  YMMV, as they say.

That's certainly a viable theory.
I update every 4-8 weeks in addition to critical patches.  It's
not strictly necessary ... but it means I benefit from all the
little fixes and improvements that happen on a daily basis,


Robert Huff


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


multi-version jumpstart

2005-02-16 Thread Jamie Novak
I currently have a jumpstart server setup in such a way that we can
specify on a "configure" command-line various install options (which
4.x-RELEASE we want to use, server config type, etc.). This part is
working great and has saved us a ton of time.

Now that 5.x is moving into the realm of being stable enough for our
production uses, we're looking into making use of some of the
SMP-related goodies in that release line. Unfortunately, I do not seem
to be able to get our jumpstart server to be able to dynamically
install both 4.x and 5.x targets from the same machine.

I'm able to get the jumpstart server to export the 5.3-RELEASE partition
and pass the GENERIC kernel and install.cfg over to the network-booting
machine, but when it comes time to actually NFS mount the install
partition on the target server to run the install, it returns an NFS
error:

mount_nfs -P 10.x.x.x:/releases/5.3-RELEASE/ /dist
mount_nfs: Can't update /var/db/mounttab for 
10.x.x.x:/releases/5.3-RELEASE
mount_nfs: /dist: operation not supported by device

I'm assuming the problem is related to the fact that the jumpstart
server is running 4.x-RELEASE, while the OS I'm trying to install on the
target server (and the kernel that's attempting to NFS mount the
partition) is from the 5.x line and they're fighting over mounttab
magic.

Does anybody know if this kind of thing is possible? If so, what did you
do to enable such a configuration to work? (Would it be possible to
install both 4.x and 5.x on network-booting clients if the jumpstart
server was 5.x instead of 4.x as it is now?)

I'd really like to avoid having to build a second jumpstart server just
to get 5.x installs working, but I'm afraid it's looking like that's the
way I'll need to go... Any tips would be most appreciated.

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


IPF, VOIP, packet priority?

2005-02-16 Thread Matt Staroscik
I use a 4.10 FreeBSD box as a NAT device, IPF firewall and DHCP server. 
I recently got VOIP service from my ISP (Speakeasy). The VOIP box they 
sent me goes in between the NAT box and the DSL modem, and it is 
supposed to prioritize VOIP traffic so calls are clear. But, if I am 
doing a download my calls do get a little choppy. It's tolerable but I 
would like to improve it.

How can I prioritize the VOIP traffic under 4.10 with IPF? Googling has 
shown me (http://www.muine.org/~hoang/freenat.html) that I need the 
ipfirewall + dummynet options in my kernel to enable QoS, but I am 
unlcear on how that will work with my existing ipf firewall rules.

Thanks for any leads.
--
*** I am Matt Staroscik and I approved this message. ***
  [EMAIL PROTECTED] * http://wrongcrowd.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Freebsd vs. linux

2005-02-16 Thread Bart Silverstrim
On Feb 16, 2005, at 12:22 PM, Anthony Atkielski wrote:
Bart Silverstrim writes:
Um, no.  OS/2 had the Presentation Manager layer on it for the GUI.
Presentation Manager was an afterthought, once they realized how far
they had gone astray.
anthony: "But IBM wanted a CLI, like DOS or
OS/2, whereas Microsoft insisted that a GUI was the wave of the future
on the desktop.  As it turned out, Microsoft was right."
They added a GUI on OS/2 when machines could start handling a GUI 
without knuckling under.  Point is, OS/2 was graphical, and PM was out 
before Program Manager on NT.

Because we were discussing at that particular point Apple, their GUI,
their OS.  OS X = Darwin + Aqua.
Let's return to discussion of FreeBSD, then.
Fine, then it's agreed that Apple's OS isn't necessarily married to the 
GUI, just as FreeBSD isn't married to X.  If you want their tools, 
however, you take the good with the bad.  Otherwise get handy with the 
command line on Darwin.

Then once again, they profit from them and continue to profit by their
recertification.
If they bother to recertify.
Irrelevant.  They (MS) still profit in every other way I mentioned.  
And if these are corporate techs that survive in the world of certs by 
having as many acronyms as possible on their resume', they recertify.

They are human advertisements, they are MS
evangelists by proxy, they reinforce market position, and they are
brainwashed into MS-centric solutions for everything thus encouraging
more purchases by the companies they work for/in from MS.
They are not brainwashed by MS.  They were that way long before they
became MCSEs, otherwise they would not have become MCSEs.
I made the mistake of taking a swipe at the popularity of the cert 
programs out there.  Any cert test it seems (except maybe A+) is aimed 
at pushing the product you cert on.  I thought you'd catch what I was 
implying.

And you're over-categorizing.  Many people get MCSE because their boss 
or business requires it or pays for it along the way, not because they 
want to use Windows as a solution for everything short of running their 
expresso machine.  How many BSD admins have a cert around somewhere?

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


kern.ipc.nmbclusters in version 4.11

2005-02-16 Thread ann kok
Hi all

I installed freebsd 4.11 in amd64 machine.

but I can't set kern.ipc.nmbclusters in loader.conf

It reboots automatically!

pls help

Thank you



__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cvsup Source

2005-02-16 Thread Daniel Bye
On Wed, Feb 16, 2005 at 12:50:28PM -0600, Cody Holland wrote:
> I've been using cvsup to upgrade the ports on my Freebsd box, and it
> works great.  My question is how often should you cvsup the src and do a
> buildworld?

Subscribe to FreeBSD-security-notifications, and you will receive mail
when a fix is applied.  Other than that, it doesn't hurt to run cvsup
over your src tree once a week.  There's only need to do a buildworld if
any files are updated.  It's a strategy that works well for me, anyway.
YMMV, as they say.

HTH

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 / \


pgpbCZ75zUWnM.pgp
Description: PGP signature


no crash dump generated

2005-02-16 Thread Roberto Nunnari
Hi.
A couple of days ago I upgrades the system and a few ports on
a 5.3 box and since then I'm often getting crashes.
-bash-2.05b# uname -a
FreeBSD jupiter.noonlights.net 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: 
Sun Feb 13 22:56:47 CET 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/JUPITER  i386

I'd like to get a crash dump and so
I added the following lines to /etc/rc.conf
dumpdev="/dev/ad0s1b"
dumpdir="/usr/crash"
-bash-2.05b# ls -ld /usr/crash/
drwx--  2 root  wheel  512 Feb 16 11:17 /usr/crash/
but I'm not getting any dump! /usr/crash is always empty.
..and the machine crashes quite often:
-bash-2.05b# last|grep reboot
reboot   ~ Wed Feb 16 20:04
reboot   ~ Wed Feb 16 19:17
reboot   ~ Wed Feb 16 18:40
reboot   ~ Wed Feb 16 17:26
reboot   ~ Wed Feb 16 14:07
reboot   ~ Wed Feb 16 12:39
reboot   ~ Wed Feb 16 11:30
reboot   ~ Wed Feb 16 10:27
reboot   ~ Wed Feb 16 09:31
reboot   ~ Wed Feb 16 09:16
What do I miss? Do I need some kernel option?
Best regards.
--
  Roberto Nunnari -software engineer-
   mailto:[EMAIL PROTECTED]
 Scuola Universitaria Professionale della Svizzera Italiana
 Dipartimento Tecnologie Innovative
  http://www.dti.supsi.ch
 SUPSI-DTI
 Via Cantonaletel: +41-91-6108561
 6928 Manno """   fax: +41-91-6108570
 Switzerland   (o o)
===oOO==(_)==OOo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Cvsup Source

2005-02-16 Thread Cody Holland
I've been using cvsup to upgrade the ports on my Freebsd box, and it
works great.  My question is how often should you cvsup the src and do a
buildworld?

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


Re: can't reboot after messing up my rc.conf file

2005-02-16 Thread Kyle Mott
mount -a
vi /etc/rc.conf
Running fsck is your prerogative.

-Kyle Mott

aklist_061666 wrote:
Hi All:
I was editing my rc.conf file and left off a quote mark, and now when 
I try to reboot I get an error and am prompted to drop into shell to 
fix it.

The default prompt is /bin/sh, and if I hit return I get a prompt.
How can I edit the file while I'm in that prompt? VI doesn't work...is 
there another text editor I can use to fix the file?

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


Re: mlock: not setgid mail

2005-02-16 Thread Daniel Bye
On Wed, Feb 16, 2005 at 04:04:55AM -0800, Vonleigh Simmons wrote:
>   I asked this question before but I haven't found a solution. I'm  
> getting in my mail log the following entry repeated:
> 
> usr/local/libexec/mlock[755]: (64) not setgid mail
> 
>   And I can't figure out what it's complaining about. Below is the  
> previous thread questions which ruled out some things. Any help  
> resolving this issue is greatly appreciated.
> 
>  067212.html>

Dan Nelson posted this in reply to your question:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/067214.html

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 / \


pgpvIT6DYu9kL.pgp
Description: PGP signature


Running news.expire - permission denied...

2005-02-16 Thread Kiffin Gish
In my daily run output email, I get the following error message:

"Running news.expire: /etc/periodic/daily/330.news: /etc/news.expire:
Permission denied"

Any ideas what is happening here and how I can correct this?

-- 

Kiffin Rex Gish
Gouda, The Netherlands

 


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


can't reboot after messing up my rc.conf file

2005-02-16 Thread aklist_061666
Hi All:
I was editing my rc.conf file and left off a quote mark, and now when I try 
to reboot I get an error and am prompted to drop into shell to fix it.

The default prompt is /bin/sh, and if I hit return I get a prompt.
How can I edit the file while I'm in that prompt? VI doesn't work...is there 
another text editor I can use to fix the file?

TIA 

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


Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-16 Thread Brian John
- Original Message -
> On Wednesday 16 February 2005 09:50 am, Brian John wrote:
>> - Original Message -
>>
>> > 
>> > Ignore my last message! change assert(0); to break; not continue;
>> > #
>> >
>> > On Tuesday 15 February 2005 08:52 pm, Brian John wrote:
>> >
>> > Brian, I can't send this to you as a patch because it would
>> > conflict with the last pr I submitted so I need you to do it this
>> > way instead:
>> >
>> > cd /usr/ports/sysutils/portmanager
>> > make deinstall
>> > make clean
>> > make patch
>> > cd
>> > /usr/ports/sysutils/portmanager/work/portmanager-0.2.6/libPMGR/src
>> > ee PMGRrUpgrade.c
>> > scroll down to line 271and change:
>> >
>> > assert(0);
>> >
>> > to
>> >
>> > break;
>> >
>> > cd /usr/ports/sysutils/portmanager
>> > make install clean
>> >
>> > Then let me know how it goes.  If this works for you I'll be adding
>> > it in the next change, I haven't been able to duplicate this on my
>> > machine so right now you are my only hope of fixing this bug.
>> >
>> > -Mike
>>
>> H...I am still getting errors.  Output is below.
>>
>> Thanks again
>>
>> /Brian
>>
> OK Brian I want to go through everything piece by piece on your system,
> so I need to look at portmanager's databases. They shouldn't be too big.
> Please send me: portmanager.tar.gz
>
> cd /usr/local/share
> tar -cf portmanager.tar portmanager
> gzip portmanager.tar
>
> Thank you
>
> -Mike
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
>

Sure, it's attached.

Let me know what you come up with

Thanks

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


Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-16 Thread Michael C. Shultz
On Wednesday 16 February 2005 09:50 am, Brian John wrote:
> - Original Message -
>
> > 
> > Ignore my last message! change assert(0); to break; not continue;
> > #
> >
> > On Tuesday 15 February 2005 08:52 pm, Brian John wrote:
> >
> > Brian, I can't send this to you as a patch because it would
> > conflict with the last pr I submitted so I need you to do it this
> > way instead:
> >
> > cd /usr/ports/sysutils/portmanager
> > make deinstall
> > make clean
> > make patch
> > cd
> > /usr/ports/sysutils/portmanager/work/portmanager-0.2.6/libPMGR/src
> > ee PMGRrUpgrade.c
> > scroll down to line 271and change:
> >
> > assert(0);
> >
> > to
> >
> > break;
> >
> > cd /usr/ports/sysutils/portmanager
> > make install clean
> >
> > Then let me know how it goes.  If this works for you I'll be adding
> > it in the next change, I haven't been able to duplicate this on my
> > machine so right now you are my only hope of fixing this bug.
> >
> > -Mike
>
> H...I am still getting errors.  Output is below.
>
> Thanks again
>
> /Brian
>
OK Brian I want to go through everything piece by piece on your system,
so I need to look at portmanager's databases. They shouldn't be too big.
Please send me: portmanager.tar.gz

cd /usr/local/share
tar -cf portmanager.tar portmanager
gzip portmanager.tar

Thank you

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


Re: Setting upFreeBSD with D-Link Wireless Router

2005-02-16 Thread Dustin Wilhoit
Yes it's very possible. :-)  You may want to check out FreeRadius 
(http://www.freeradius.org/).  It is a free radius server which is what 
I think you are looking for.  I will state that you need to take some 
time to read up on this a little bit as it can be irritating to set up 
a radius server if you are not familiar with all the settings.  I did 
this for my D-link AP for fun then went back to wep for reasons I don't 
remember.  Ohh, FreeRadius has a port, so you can start there. :-)  
It's a popular radius server for *nix.  A medium-sized datacenter I 
worked at used it for all communications gear and dial-up access.  
Anyways, good luck sir.

Dustin
On Feb 15, 2005, at 11:36 PM, rizazoe wrote:
I'm newbie and I'm trying to set up a test network
than isn't connected to Internet on FreeBSD 4.7
I was wondering if it is possible to set up my FreeBSD
4.7 as a authentication server for 802.1x security
using D-Link 624 Wireless Router.
1 more stupid question do I need a wireless NIC for
the FreeBSD box?

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

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


Re: Freebsd vs. linux

2005-02-16 Thread aj34381244
On Wed, Feb 16, 2005 at 08:45:52AM -0500, Bart Silverstrim wrote:
> 
> Read ShowStopper!.  It's an excellent history of the background of NT 
> (and Cutler).  You can also read the Why I Hate Microsoft rant posted 
> at http://www.euronet.nl/users/frankvw/rants/microsoft/IhateMS.html .  
> I find it an excellent read for the history in it.

Thanks for that URL. It's a wonderful article.

-- 
Kids can get a free PlayStation 2!
http://www.landoverbaptist.org/news0104/ps2.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Managing bad sectors during install

2005-02-16 Thread Pásztor Richárd
I have 2 small problems about installing FreeBSD.
1) My HDD is a 8,4 Gb quantum, which has 1 bad sector laying on it 
somewhere. I created ntfs partition
on it, and format detected that sector, and marked as bad so there was no 
problem of data loss because writing
to that sector. Now, if i fdisk the whole HDD to a freebsd slice, and 
divide it to partitions i get an error during
filesystem creation, that a bad sector was detected. The system panics, and 
reboots after 15 sec.
My question: why isnt the UFS able to mark this/these sectors as bad, and 
simply not to use them?
Throwing panic for one single bad sector is not an elegant way.

2) My other smaller question: If i enabled SoftUpdates at install-time for "/"
but changed my mind, how can i turn it off ? I cant unmount "/" to change it,
because its always busy (the other partitions can be unmounted easily in 
single user)

I think these are basic problems, and should be (especially turning OFF 
softupdate on "/") mentioned in handbook also.
ricsip

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


Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-16 Thread Brian John




- Original Message -
> 
> Ignore my last message! change assert(0); to break; not continue;
> #
>
> On Tuesday 15 February 2005 08:52 pm, Brian John wrote:
>
> Brian, I can't send this to you as a patch because it would
> conflict with the last pr I submitted so I need you to do it this
> way instead:
>
> cd /usr/ports/sysutils/portmanager
> make deinstall
> make clean
> make patch
> cd /usr/ports/sysutils/portmanager/work/portmanager-0.2.6/libPMGR/src
> ee PMGRrUpgrade.c
> scroll down to line 271and change:
>
> assert(0);
>
> to
>
> break;
>
> cd /usr/ports/sysutils/portmanager
> make install clean
>
> Then let me know how it goes.  If this works for you I'll be adding it
> in the next change, I haven't been able to duplicate this on my machine
> so right now you are my only hope of fixing this bug.
>
> -Mike
>
>

H...I am still getting errors.  Output is below.

Thanks again

/Brian

if [ ! -d /usr/local/share/doc/libiconv ] ; then /bin/sh
../autoconf/mkinstalldirs /usr/local/share/doc/libiconv ; fi
mkdir -p -- /usr/local/share/doc/libiconv
if [ ! -d /usr/local/share/doc/libiconv ] ; then /bin/sh
../autoconf/mkinstalldirs /usr/local/share/doc/libiconv ; fi
builddir="`pwd`"; cd . && for f in *.html ; do (cd "$builddir"; echo
install  -o root -g wheel -m 444 ./$f /usr/local/sh
are/doc/libiconv/$f ; install  -o root -g wheel -m 444 ./$f
/usr/local/share/doc/libiconv/$f) ; done
install -o root -g wheel -m 444 ./iconv.1.html
/usr/local/share/doc/libiconv/iconv.1.html
install -o root -g wheel -m 444 ./iconv.3.html
/usr/local/share/doc/libiconv/iconv.3.html
install -o root -g wheel -m 444 ./iconv_close.3.html
/usr/local/share/doc/libiconv/iconv_close.3.html
install -o root -g wheel -m 444 ./iconv_open.3.html
/usr/local/share/doc/libiconv/iconv_open.3.html
===>   Compressing manual pages for libiconv-1.9.2_1
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for libiconv-1.9.2_1

deleting backup copy, installation of updated /converters/libiconv successful
PMGRrDoUpgrade 0.2.6_5 command: #6 of 8 cd /tmp; rm -f libiconv-1.9.2_1.tgz


making package of updated /converters/libiconv
PMGRrDoUpgrade 0.2.6_5 command: #7 of 8 cd /usr/ports/converters/libiconv;
make package

===>  Building package for libiconv-1.9.2_1
Creating package /usr/ports/converters/libiconv/libiconv-1.9.2_1.tbz
Registering depends:.
Creating bzip'd tar ball in
'/usr/ports/converters/libiconv/libiconv-1.9.2_1.tbz'

terminal clean of work directories
PMGRrDoUpgrade 0.2.6_5 command: #8 of 8 cd /usr/ports/converters/libiconv;
make clean

===>  Cleaning for libtool-1.5.10
===>  Cleaning for libiconv-1.9.2_1

PMGRrStatus 0.2.6_5 info: Creating inital data bases


PMGRrStatus 0.2.6_5 info: looking for missing dependent ports


-=>MISSING<=- linux_base-rh-9[/emulators/linux_base-rh-9] may be a
dependency of linux-sun-jdk-1.4.2.06_1
verifing dependency status of linux_base-rh-9 (may take awhile) by
executing command:
cd /usr/ports/java/linux-sun-jdk14; make  all-depends-list
  *  *  *  *
linux_base-rh-9 is no longer a dependency of linux-sun-jdk-1.4.2.06_1
 forcing rebuild of linux-sun-jdk-1.4.2.06_1 to fix
/var/db/pkg/linux-sun-jdk-1.4.2.06_1/+CONTENTS file.
  *  *  *  *
WARNING:  linux_base-rh-9 may conflict with a new linux-sun-jdk-1.4.2.06_1
dependency
and may have to be manually removed with "pkg_delete -f linux_base-rh-9".
If portmanager fails during rebuild of linux-sun-jdk-1.4.2.06_1 then review
/usr/ports/UPDATING and also note what is at the bottom of /usr/ports/MOVED.

-=>MISSING<=- linux_base-rh-9[/emulators/linux_base-rh-9] may be a
dependency of linux-flashplugin-6.0r79_2
verifing dependency status of linux_base-rh-9 (may take awhile) by
executing command:
cd /usr/ports/www/linux-flashplugin6; make  all-depends-list
  *  *  *  *
linux_base-rh-9 is no longer a dependency of linux-flashplugin-6.0r79_2
 forcing rebuild of linux-flashplugin-6.0r79_2 to fix
/var/db/pkg/linux-flashplugin-6.0r79_2/+CONTENTS file.
  *  *  *  *
WARNING:  linux_base-rh-9 may conflict with a new
linux-flas

Re: Unable to find device node for /dev/ad0s1b in /dev!

2005-02-16 Thread Sajith K
i did create the slices using default option (A)
and partions using default option (A).

now i see the following problem:

"mounting error /mnt/dev/ad0s1f on /mnt/usr :
Input/output error"

i think it is the problem with the disk geometry 
i don't know what. i have a 80GB disk, and i tried 
changing the mode from LBA to NORMAL to LARGE in the 
BIOS setting but it didn't help. /usr is the the
last partition in the default list of partiontions.

thanks in advance for your time

sajith

--- Lowell Gilbert
<[EMAIL PROTECTED]> wrote:

> Sajith K <[EMAIL PROTECTED]> writes:
> 
> > When I tried to install freebsd 5.3 in a PIII
> machine
> > with 80GB hard disk I get the following error:
> > 
> > "Unable to find device node for /dev/ad0s1b in
> /dev!"
> > "The creation of filesystems will be aborted"
> > 
> > Could some one help me out ?
> 
> Sounds like you forgot to allocate (and commit) the
> slices before you
> tried to create the partitions...
> 




__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Festival and vchans

2005-02-16 Thread Chad Albert


I recently set "hw.snd.pcm0.vchans=4" on a FreeBSD 5.3 box and now when
I try to get festival to speak I just get silence.  I can play sound
files with sox and if I copy a file to /dev/dsp I get noise as I would
expect.  Festival worked before I turned on virtual channels but now I
get nothing.  I have set festival's Audio_Method to freebsd16audio and
that does not work.  When I set it to netaudio I get what sounds like
"slow motion" speaking.  Has anyone seen/solved this before?
 

 


-- Chad

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


Re: moving files from bad sectors

2005-02-16 Thread Nathan Kinkade
On Wed, Feb 16, 2005 at 11:57:02AM -0500, Ean Kingston wrote:
> 
> > I have a hard disk that looks like its going out.
> >
> > So far, there are 6 reported crc errors.  However, I have a file that
> > I would like to read as much as possible of using tar, but the whole
> > job stops like this:
> >
> >
> >  # tar cvf /dev/nrsa0 /home > /root/tarhome.cat
> > tar: Removing leading `/' from member names
> > tar: /home/smbshare1/BUDGETS/RXS0008 fy04 kellogg report and
> > summary.xls: Read error at byte 14848, reading 10240 bytes:
> > Input/output error
> > tar: Error exit delayed from previous errors
> >
> > When attempting to cp that same file I get another error and the cp
> > stops.
> >
> > Are there any tools that will permit me to cp as much of this file as
> > possible, ie all sectors up to, and then past, the bad spot?
> 
> dd will let you specify parts of files to skip over. You will probably
> have to do some fiddling with the arguements to get it just right for your
> file.

Specifically, try using the "conv=noerror" option with dd.

Nathan


pgpkeVcVa6tQ4.pgp
Description: PGP signature


Automated reply from robert@www.webtent.com

2005-02-16 Thread robert
I will be out of the office until Friday, February 18th, 2004. Your message 
will be reviewed as soon as I return.

If you need technical support or immediate assistance, please contact [EMAIL 
PROTECTED] or call the office at 813-286-6502.

Thank you :)

Robert Fitzpatrick

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


Re: Freebsd vs. linux

2005-02-16 Thread Anthony Atkielski
Bart Silverstrim writes:

> Um, no.  OS/2 had the Presentation Manager layer on it for the GUI.

Presentation Manager was an afterthought, once they realized how far
they had gone astray.

> True to a point.  Just because you have a GUI as the primary interface
> it doesn't mean that the OS *must* have crappy administration tools.

True.  But in the case of Windows, that's exactly the situation.  I had
to administer servers with pcAnywhere.  Have you ever used pcAnywhere
over a dial-up line?

> Because we were discussing at that particular point Apple, their GUI,
> their OS.  OS X = Darwin + Aqua.

Let's return to discussion of FreeBSD, then.

> Then once again, they profit from them and continue to profit by their
> recertification.

If they bother to recertify.

> They are human advertisements, they are MS
> evangelists by proxy, they reinforce market position, and they are 
> brainwashed into MS-centric solutions for everything thus encouraging 
> more purchases by the companies they work for/in from MS.

They are not brainwashed by MS.  They were that way long before they
became MCSEs, otherwise they would not have become MCSEs.

-- 
Anthony


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


Re: installing java on a box?

2005-02-16 Thread cyb
Hi Ken,

I'm not sure if you really want to use this old Java version, if not,
then going to these sites and updating your ports will help you a lot.

http://www.freebsd.org/java/
http://www.eyesbeyond.com/freebsddom/java/index.html

Regards,
Andreas


On Wed, 2005-02-16 at 11:20 -0500, Ken Hawkins wrote:
> I have seen a few things on how to do this however I can't find the 
> java file:j2sdk-1_3_1_14-linux-i586.bin
> 
> on any of sun's servers.
> 
> in lieu of what I have been doing how can i install java on a FreeBSD 
> box?
> 
> thanks,
> 
> ken;

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.txt
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81



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


Makefile and directory layout

2005-02-16 Thread Jonathon McKitrick

Hi all,

I'm about to port several libraries to *nix because a new customer needs it
to run on an open source OS.  I need some ideas for how to set this up.

It's going to be a binary-only distribution, AFAIK, but I don't know if that
should affect the directory layout.

What I have are a lot of libraries (components, really), and many, but not
all, have nested dependencies.

Am I better off with a flat directory with subdirs for each library and one
big subdir for all include files?  Or, does it make more sense to place
library source directories and header files *within* the directories of
libraries that need them?

So, if libfoo requires libbar and no other library does:

proj/
Makefile
include/
foo.h
bar.h
libfoo/
Makefile
src/
foo.c
libbar/
Makefile
src/
bar.c

**OR**

proj/
Makefile
include/
foo.h
libfoo/
Makefile
include/
bar.h
src/
foo.c
libbar/
Makefile
src/
bar.c

Is there a better way?  Especially for header files just needed internally 
for the library itself versus headers shared between modules?


Jonathon McKitrick
--
My other computer is your Windows box.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: moving files from bad sectors

2005-02-16 Thread Ean Kingston

> I have a hard disk that looks like its going out.
>
> So far, there are 6 reported crc errors.  However, I have a file that
> I would like to read as much as possible of using tar, but the whole
> job stops like this:
>
>
>  # tar cvf /dev/nrsa0 /home > /root/tarhome.cat
> tar: Removing leading `/' from member names
> tar: /home/smbshare1/BUDGETS/RXS0008 fy04 kellogg report and
> summary.xls: Read error at byte 14848, reading 10240 bytes:
> Input/output error
> tar: Error exit delayed from previous errors
>
> When attempting to cp that same file I get another error and the cp
> stops.
>
> Are there any tools that will permit me to cp as much of this file as
> possible, ie all sectors up to, and then past, the bad spot?

dd will let you specify parts of files to skip over. You will probably
have to do some fiddling with the arguements to get it just right for your
file.

> as another possibility, are there any tools that I can use with fsck
> that would  mark the sector as bad so its not reused?

-- 
Ean Kingston

E-Mail: ean_AT_hedron_DOT_org
URL: http://www.hedron.org/

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


Re: Hula Server -- Mail/Cal Server

2005-02-16 Thread Nick Pavlica
That's good news!  Please keep me posted on how this is coming
together.  I will probably try  to install it in a couple of days.

--Thanks 
   Nick


On Wed, 16 Feb 2005 16:11:54 +, Phil Brennan <[EMAIL PROTECTED]> wrote:
> I've just heard that they will be committing a fix for the atomic.h
> problem today, so it should be buildable on freebsd by tomorrow.
> You will need to install
> /usr/ports/gnu-tools/automake
> /usr/ports/gnu-tools/autoconf
> /usr/ports/gnu-tools/libtool
> 
> 
> On Wed, 16 Feb 2005 08:54:03 -0700, Nick Pavlica <[EMAIL PROTECTED]> wrote:
> > I haven't done this yet, but do the Linux compatibility libraries
> > provide support for this?
> >
> >
> > On Wed, 16 Feb 2005 15:46:23 +, Phil Brennan <[EMAIL PROTECTED]> wrote:
> > > Hi Nick
> > >
> > > We are currently trying to install it at a freebsd site.
> > > We have gotten to the stage where it expects atomic.h from linux, so
> > > it doesn't look like it will work without patching.
> > >
> > >
> > > On Tue, 15 Feb 2005 23:43:11 -0700, Nick Pavlica <[EMAIL PROTECTED]> 
> > > wrote:
> > > > All,
> > > >   I just noticed that Hulu Server
> > > > (http://hula-project.org/index.php/Hula_Server) was released.  They
> > > > only mention Linux support at this time, but provide source install
> > > > instructions.  What is the best approach to installing this on
> > > > freeBSD?
> > > >
> > > > Thanks!
> > > > --Nick
> > > > ___
> > > > freebsd-questions@freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> > > >
> > >
> >
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


moving files from bad sectors

2005-02-16 Thread David Bear
I have a hard disk that looks like its going out.

So far, there are 6 reported crc errors.  However, I have a file that
I would like to read as much as possible of using tar, but the whole
job stops like this:


 # tar cvf /dev/nrsa0 /home > /root/tarhome.cat
tar: Removing leading `/' from member names
tar: /home/smbshare1/BUDGETS/RXS0008 fy04 kellogg report and
summary.xls: Read error at byte 14848, reading 10240 bytes:
Input/output error
tar: Error exit delayed from previous errors

When attempting to cp that same file I get another error and the cp
stops.

Are there any tools that will permit me to cp as much of this file as
possible, ie all sectors up to, and then past, the bad spot?

as another possibility, are there any tools that I can use with fsck
that would  mark the sector as bad so its not reused?
 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 "Beware the IP portfolio, everyone will be suspect of trespassing"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


installing java on a box?

2005-02-16 Thread Ken Hawkins
I have seen a few things on how to do this however I can't find the 
java file:j2sdk-1_3_1_14-linux-i586.bin

on any of sun's servers.
in lieu of what I have been doing how can i install java on a FreeBSD 
box?

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


Re: Trouble with sshd in jail

2005-02-16 Thread ANISH MISTRY
Do you have your resolv.conf and hosts file setup correctly in the jail?  I had 
the same problem yesterday when I moved my jailed system to a new network.

--
Anish Mistry

- Original Message -
From: [EMAIL PROTECTED]
Date: Wednesday, February 16, 2005 10:35 am
Subject: Trouble with sshd in jail

> I have some trouble with sshd in jail. This is description 
> of the problem:
> 
> I have host system based on FreeBSD 5.1 Release with IP 
> 161.66.11.1 Futher I do these steps for creating jail on 
> host system:
> 
> cd /usr/src
> mkdir -p /jail
> make world DESTDIR=/jail
> cd etc
> make distribution DESTDIR=/jail
> mount_devfs devfs /jail/dev
> cd /jail
> ln -sf dev/null kernel
> 
> OK. That's easy. Next step I edit /etc/rc.conf by 
> adding/editing some lines:
> 
> sendmail_enable="NO"
> sshd_enable="YES"
> syslogd_flags="-ss"
> 
> and /etc/ssh/sshd_config :
> 
> ListenAddress 161.66.11.1
> 
> OK. I do #sockstat and get only:
> 
> root   sendmail   361   4   tcp4   127.0.0.1:25*:*
> root   sshd   355   3   tcp4   161.66.11.2:22  *:*
> 
> After this doing alias for jail:
> 
> #ifconfig em0 alias 161.66.11.2
> 
> Then I start jail:
> 
> #jail /jail testhost 161.66.11.2 /bin/sh /etc/rc
> 
> Two problems: then jail startup, the message "Starting 
> sshd..." stops for 10 min. That's one. Then booting 
> proccess continies and finish successfull. Second problem 
> is when I try to connect to jail (161.66.11.2) with ssh 
> client.
> ---Connect 161.66.11.2...
> ---Login as: root
> AND STOPS!!! For 7-10 min. Than "password" field appears, 
> but I have wait so much time...
> 
> That's the problem. Please, help if you can!
> Thank you!!!
> -
> http://mobile.ngs.ru/games - Java- ??? ??? ? ?? ??...
> http://love.ngs.ru - ?? ? 
> 
> 
> 
> 
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"

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


Re: netstat -rn error

2005-02-16 Thread Chris Hodgins
Robert Stevenson wrote:
Help. I get an error when I execute netstat -rn command. I'm using
FreeBSD 5.3 release.
command:
#netstat -rn
error:
netstat: kvm not available
Routing tables
rt_tables: symbol not in namelist
#
How do I fix this?
Thanks,
Robert Stevenson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Had the same problem a while back when my kernel and base became out of 
sync as I had cvsup'd base and then recompiled my kernel without 
building world first.  Cvsup base, build world, build kernel, install 
kernel and then install world.

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


Re: ipfilter "flags s keep state" question

2005-02-16 Thread Dick Hoogendijk
On 16 Feb Murray Taylor wrote:
> tcp rules can use 'keep frags'
> TCP packets allow fragmentation by intermediate routers
> that need re-assembly at the final destination
> 
> On Wed, 2005-02-16 at 08:36, dick hoogendijk wrote:
> > I read a lot of rulesets for ipfilter just to study how others do
> > the job.  I've read the ipf HOWTO too. One thing is still very
> > unclear to me though.  Most rules for tcp have something like "flags
> > S keep state" but *some* have "flags S keep state keep frags"
> > 
> > Can someone explain to me *when* to use keep frags and when not to?
> > The HOWTO is very unclear about this. What exactly is the use of
> > this extra 'keep frags'?

YES, I know tcp packets can get fragmented. I wander however why in most
cases people just use "keep state" and *sometimes* "keep state keep
frags" I really like to know when or when not to use "keep frags"
In other words: when is it really useful and when is it not?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: umask

2005-02-16 Thread albi
On Wed, 16 Feb 2005 16:50:56 +0100
koen de wijs <[EMAIL PROTECTED]> wrote:

> I have a question aboout the umask under FreeBSD. I couldn't find what
> it exactly is.
> It is something for setting files how you set the 'xrwxrwxrw'
> I found a file where you could chance it but don't knwo anymore what
> it was.
> 
> I want to use this for my ftp-server with FreeBSD.
> I have a directory 'upload' where all my friends can put there files. 
> They are all members of the group 'ftpusers'. But when they put a file
> in that directory all the other users from the group 'ftpusers' 
> canchange or delete this file. I want to change it so that the write
> bit for the group is off when someonse of the ftpusers group writes 
> something in the folder 'upload'.

afair normally you would :

- chmod 1777 your_upload_dir (for anonymous uploads)
- do *any* other permission-settings in the config of the FTP-server
you're running

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


Re: Hula Server -- Mail/Cal Server

2005-02-16 Thread Nick Pavlica
I haven't done this yet, but do the Linux compatibility libraries
provide support for this?


On Wed, 16 Feb 2005 15:46:23 +, Phil Brennan <[EMAIL PROTECTED]> wrote:
> Hi Nick
> 
> We are currently trying to install it at a freebsd site.
> We have gotten to the stage where it expects atomic.h from linux, so
> it doesn't look like it will work without patching.
> 
> 
> On Tue, 15 Feb 2005 23:43:11 -0700, Nick Pavlica <[EMAIL PROTECTED]> wrote:
> > All,
> >   I just noticed that Hulu Server
> > (http://hula-project.org/index.php/Hula_Server) was released.  They
> > only mention Linux support at this time, but provide source install
> > instructions.  What is the best approach to installing this on
> > freeBSD?
> >
> > Thanks!
> > --Nick
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vinum vs. DPT smartcacheIV raid

2005-02-16 Thread Ean Kingston

> On Wed, Feb 16, 2005 at 09:58:17AM -0500, Ean Kingston wrote:
>>
>> > I have a box with DPT PM2044 SmartCacheIV UW-SCSI PCI cards which can
>> do
>> > RAID-5 in hardware, but I'd have to use the DOS volume manager to set
>> up
>> > the array. I have heard reports that vinum woudl be faster than using
>> the
>> > native card. Is this true?
>>
>> Doubtful, though I have heard that there are some rare special
>> circumstances where software raid can be faster. Given your hardware,
>> you
>> will probably not experience those conditions.
>
> The reason I asked is because
> http://www.shub-internet.org/brad/FreeBSD/vinum.html

I did not know that. Interesting read.

> suggests vinum can be marginally better than the hardware raid on the
> smartraid range of cards (which have an even faster processor onboard
> than the smartcache range). The CPU platform is more or less comparable.
> Then again it is with old Fbsd, so I don't know how accurate that is.

You may have noticed that there were comments about not trusting vinum's
RAID5 support in that article. If you are using FreeBSD 5.3, the default
is now gvinum (sort of second generation of vinum). The gvinum tools don't
give you the ability to create RAID5 virutal disks so if that is what you
want, you may not want to go with vinum or gvinum.

Another thing to consider is if you use software RAID and your application
gets CPU bound, you are going to take a double performance hit (both disk
and cpu).

I don't know your situation so it is your call.

>>
>> > Should I not bother with doing the hardware
>> > raid
>> > and just go with vinum?
>>
>> Use the hardware RAID, especially if you are going to use a simple RAID
>> configuration (like one big RAID-5 virtual disk). Just make sure you
>> have
>> some way of figuring out if one of the disks goes bad. Worst case you
>> could boot off a DOS floppy once in a while to make sure all the disks
>> are
>> still good.
>>
>> > The rest of the system is a k6-2 400mhz with 256mb ram (amount might
>> > change).
>> > I will also have moderate network i/o on the pci bus (obviously).
>>
>> --
>> Ean Kingston
>>
>> E-Mail: ean_AT_hedron_DOT_org
>> URL: http://www.hedron.org/
>>
>
> --
> Peter C. Lai
> University of Connecticut
> Dept. of Molecular and Cell Biology
> Yale University School of Medicine
> SenseLab | Research Assistant
> http://cowbert.2y.net/
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


-- 
Ean Kingston

E-Mail: ean_AT_hedron_DOT_org
URL: http://www.hedron.org/

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


umask

2005-02-16 Thread koen de wijs
Hello,
I have a question aboout the umask under FreeBSD. I couldn't find what 
it exactly is.
It is something for setting files how you set the 'xrwxrwxrw'
I found a file where you could chance it but don't knwo anymore what it 
was.

I want to use this for my ftp-server with FreeBSD.
I have a directory 'upload' where all my friends can put there files. 
They are all members of the group 'ftpusers'. But when they put a file 
in that directory all the other users from the group 'ftpusers' 
canchange or delete this file. I want to change it so that the write bit 
for the group is off when someonse of the ftpusers group writes 
something in the folder 'upload'. Can I do this with changing the umaks 
and how do I change that? I couldn't found any information on that.

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


Re: Hula Server -- Mail/Cal Server

2005-02-16 Thread Phil Brennan
Hi Nick

We are currently trying to install it at a freebsd site.
We have gotten to the stage where it expects atomic.h from linux, so
it doesn't look like it will work without patching.


On Tue, 15 Feb 2005 23:43:11 -0700, Nick Pavlica <[EMAIL PROTECTED]> wrote:
> All,
>   I just noticed that Hulu Server
> (http://hula-project.org/index.php/Hula_Server) was released.  They
> only mention Linux support at this time, but provide source install
> instructions.  What is the best approach to installing this on
> freeBSD?
> 
> Thanks!
> --Nick
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: proxy client for FreeBSD

2005-02-16 Thread messmate
On Tue, 15 Feb 2005 16:22:54 -0800
"Thomas Foster" <[EMAIL PROTECTED]> wrote:

>export HTTP_PROXY="proxy.whatever.name:port number"
>export FTP_PROXY="proxy.whatever.name:port number"
>
Not necessarely...
IMHO, You'd better configure your ftp/http clients of your workstation.
For excluding localhost and your proxy server to access local server 
machines.
mess-mate


>as far as any other "clients" for other apps.. thats really up to your
>proxy server administrator and apps you need to use
>
>Hope this helps..
>
>
>- Original Message - 
>From: "Alden Meneses" <[EMAIL PROTECTED]>
>To: 
>Sent: Tuesday, February 15, 2005 1:38 PM
>Subject: proxy client for FreeBSD
>
>
>> Does someone know how to configure network settings so that I can use
>> a freeBSD workstation as a proxy client?
>>
>> Thanks in advance,
>> Alden
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "[EMAIL PROTECTED]"
>> 
>
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error I received this morning...

2005-02-16 Thread Mike Alich
Can anyone tell me what this means?  I have been running my server for
several months and no problems.
 
I just go this error.What do I need to fix it?
--
Feb 15 09:14:50 s1 /kernel: swap_pager: indefinite wait buffer: device:
#da/0x20001, blkno: 712, size: 4096
Feb 15 09:25:39 s1 /kernel: swap_pager: indefinite wait buffer: device:
#da/0x20001, blkno: 1032, size: 8192
Feb 15 09:26:31 s1 /kernel: swap_pager: indefinite wait buffer: device:
#da/0x20001, blkno: 1752, size: 4096
Feb 15 09:26:32 s1 /kernel: swap_pager: indefinite wait buffer: device:
#da/0x20001, blkno: 1032, size: 8192
Feb 15 09:26:32 s1 /kernel: swap_pager: indefinite wait buffer: device:
#da/0x20001, blkno: 1752, size: 4096
Feb 15 09:37:11 s1 /kernel: swap_pager: indefinite wait buffer: device:
#da/0x20001, blkno: 984, size: 4096
Feb 15 09:37:55 s1 /kernel: swap_pager: indefinite wait buffer: device:
#da/0x20001, blkno: 984, size: 4096
Feb 15 09:37:55 s1 /kernel: swap_pager: indefinite wait buffer: device:
#da/0x20001, blkno: 984, size: 4096
Feb 15 09:50:39 s1 /kernel: swap_pager: indefinite wait buffer: device:
#da/0x20001, blkno: 328, size: 4096
Feb 15 09:53:30 s1 /kernel: swap_pager: indefinite wait buffer: device:
#da/0x20001, blkno: 712, size: 4096
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trouble with sshd in jail

2005-02-16 Thread musikcom
I have some trouble with sshd in jail. This is description 
of the problem:

I have host system based on FreeBSD 5.1 Release with IP 
161.66.11.1 Futher I do these steps for creating jail on 
host system:

cd /usr/src
mkdir -p /jail
make world DESTDIR=/jail
cd etc
make distribution DESTDIR=/jail
mount_devfs devfs /jail/dev
cd /jail
ln -sf dev/null kernel
OK. That's easy. Next step I edit /etc/rc.conf by 
adding/editing some lines:

sendmail_enable="NO"
sshd_enable="YES"
syslogd_flags="-ss"
and /etc/ssh/sshd_config :
ListenAddress 161.66.11.1
OK. I do #sockstat and get only:
root   sendmail   361   4   tcp4   127.0.0.1:25*:*
root   sshd   355   3   tcp4   161.66.11.2:22  *:*
After this doing alias for jail:
#ifconfig em0 alias 161.66.11.2
Then I start jail:
#jail /jail testhost 161.66.11.2 /bin/sh /etc/rc
Two problems: then jail startup, the message "Starting 
sshd..." stops for 10 min. That's one. Then booting 
proccess continies and finish successfull. Second problem 
is when I try to connect to jail (161.66.11.2) with ssh 
client.
---Connect 161.66.11.2...
---Login as: root
AND STOPS!!! For 7-10 min. Than "password" field appears, 
but I have wait so much time...

That's the problem. Please, help if you can!
Thank you!!!
-
http://mobile.ngs.ru/games - Java-игры для мобильников и не только...
http://love.ngs.ru - Знакомства в Новосибирске


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


Physical ethernet interface and TAP in same bridge group

2005-02-16 Thread Sergey Evteeff
Hello.

First, I have a question about correct TAP interface bringing up. How I must 
do it? 
Some people recommend do it like this:
dd if=/dev/null of=/dev/tap0 bs=1500 count=1
dd if=/dev/null of=/dev/tap1 bs=1500 count=1
dd if=/dev/null of=/dev/tap2 bs=1500 count=1

All ok, but I think it's not correct. So, how?

Second question I'd have is how I can join it into bridge group?
Some hand-passes like 
sysctl -w net.link.ether.bridge_cfg=fxp0:1,tap0:1,tap1:1,tap2:1
sysctl -w net.link.ether.bridge=1
is work, in this case IP traffic through bridge group successfully but 
Ethernet frames not. 

As a result of this I want have more than one ng pppoed at one physical 
interface. I think that:
/usr/libexec/pppoed -a Hub0 -l hub0 tap0
/usr/libexec/pppoed -a Hub1 -l hub1 tap1
/usr/libexec/pppoed -a Hub2 -l hub2 tap2
will work.

Maybe I think wrong? Anybody have some solution for me?

Thanks.

PS: sorry for my english.
-- 
Sergey Evteeff  mailto:[EMAIL PROTECTED]

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


Re: UDMA ICRC error

2005-02-16 Thread Peter Risdon
On Wed, 2005-02-16 at 06:31 -0800, Rob wrote:
> Ramiro Aceves wrote:
> > 
> > I have read that others had this problem before. I
> > just write this report for you to know.
> > 
> > When I installed FreeBSD 5.3 R, I get some errors
> > like this, but I could end the install:
> > 
> > ad0: WARNING -READ_DMA UDMA ICRC error (retrying 
> > request) LBA=5313599
> > ad0: FAILURE -READ_DMA status=51
> > error=84 >ICRC,ABORTED>
> > spec_getpages:(ad0s1a) I/O read failure: (error=5)
> > 
> > 
> > I have solved the problem disabling DMA:
> > hw.ata.ata_dma="0"
> > 
> > (I previously tried disabling ACPI with no success,
> > and playing with BIOS LBA, LARGE, NORMAL settings
> > at the BIOS with no success).
> > 
> > Now ad0: works in PIO4 mode and everything is fine,
> > previously , it was UDMA33. Now there are no errors.
> 
> There's you and me now. I have this problem with two
> of my PCs. I don't know yet of anybody else who has
> these problems.
> 
> It's indeed a serious problem, but too few people
> running 5.3 seem to suffer from this.

No, it's a known problem and I filed a pr about it a while back. So far
as I know, there's been no action on the pr and disabling dma is the
only workaround.
> 
> Have you tried with 4.11?
> I bet that would not generate these problems.

Agreed.

Peter.


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


Re: vinum vs. DPT smartcacheIV raid

2005-02-16 Thread Peter C. Lai
On Wed, Feb 16, 2005 at 09:58:17AM -0500, Ean Kingston wrote:
> 
> > I have a box with DPT PM2044 SmartCacheIV UW-SCSI PCI cards which can do
> > RAID-5 in hardware, but I'd have to use the DOS volume manager to set up
> > the array. I have heard reports that vinum woudl be faster than using the
> > native card. Is this true?
> 
> Doubtful, though I have heard that there are some rare special
> circumstances where software raid can be faster. Given your hardware, you
> will probably not experience those conditions.

The reason I asked is because
http://www.shub-internet.org/brad/FreeBSD/vinum.html
suggests vinum can be marginally better than the hardware raid on the
smartraid range of cards (which have an even faster processor onboard
than the smartcache range). The CPU platform is more or less comparable.
Then again it is with old Fbsd, so I don't know how accurate that is.

> 
> > Should I not bother with doing the hardware
> > raid
> > and just go with vinum?
> 
> Use the hardware RAID, especially if you are going to use a simple RAID
> configuration (like one big RAID-5 virtual disk). Just make sure you have
> some way of figuring out if one of the disks goes bad. Worst case you
> could boot off a DOS floppy once in a while to make sure all the disks are
> still good.
> 
> > The rest of the system is a k6-2 400mhz with 256mb ram (amount might
> > change).
> > I will also have moderate network i/o on the pci bus (obviously).
> 
> -- 
> Ean Kingston
> 
> E-Mail: ean_AT_hedron_DOT_org
> URL: http://www.hedron.org/
> 

-- 
Peter C. Lai
University of Connecticut
Dept. of Molecular and Cell Biology
Yale University School of Medicine
SenseLab | Research Assistant
http://cowbert.2y.net/

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


Re: vinum vs. DPT smartcacheIV raid

2005-02-16 Thread Ean Kingston

> I have a box with DPT PM2044 SmartCacheIV UW-SCSI PCI cards which can do
> RAID-5 in hardware, but I'd have to use the DOS volume manager to set up
> the array. I have heard reports that vinum woudl be faster than using the
> native card. Is this true?

Doubtful, though I have heard that there are some rare special
circumstances where software raid can be faster. Given your hardware, you
will probably not experience those conditions.

> Should I not bother with doing the hardware
> raid
> and just go with vinum?

Use the hardware RAID, especially if you are going to use a simple RAID
configuration (like one big RAID-5 virtual disk). Just make sure you have
some way of figuring out if one of the disks goes bad. Worst case you
could boot off a DOS floppy once in a while to make sure all the disks are
still good.

> The rest of the system is a k6-2 400mhz with 256mb ram (amount might
> change).
> I will also have moderate network i/o on the pci bus (obviously).

-- 
Ean Kingston

E-Mail: ean_AT_hedron_DOT_org
URL: http://www.hedron.org/

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


Re: Apache modules

2005-02-16 Thread Ean Kingston

> I have installed  apache+mod_ssl-1.3.33+2.8.22, and,
> when trying to add php4-4.3.10_2 and mod_perl modules,
> I observed that they depend on apache-1.3.33_1. But I
> didn`t find a ssl module for apache-1.3.33_1. What
> does it mean, that I can`t run a apache server with
> perl, php and ssl modules installed? What can I do?
> Thank you in advance.

I found that if you build the PHP port after installing apache+mod_ssl, it
will happily use the apache that is already installed and not require that
apache be built.

-- 
Ean Kingston

E-Mail: ean_AT_hedron_DOT_org
URL: http://www.hedron.org/

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


Re: UDMA ICRC error

2005-02-16 Thread Rob
Ramiro Aceves wrote:
> 
> I have read that others had this problem before. I
> just write this report for you to know.
> 
> When I installed FreeBSD 5.3 R, I get some errors
> like this, but I could end the install:
> 
> ad0: WARNING -READ_DMA UDMA ICRC error (retrying 
> request) LBA=5313599
> ad0: FAILURE -READ_DMA status=51
> error=84 >ICRC,ABORTED>
> spec_getpages:(ad0s1a) I/O read failure: (error=5)
> 
> 
> I have solved the problem disabling DMA:
> hw.ata.ata_dma="0"
> 
> (I previously tried disabling ACPI with no success,
> and playing with BIOS LBA, LARGE, NORMAL settings
> at the BIOS with no success).
> 
> Now ad0: works in PIO4 mode and everything is fine,
> previously , it was UDMA33. Now there are no errors.

There's you and me now. I have this problem with two
of my PCs. I don't know yet of anybody else who has
these problems.

It's indeed a serious problem, but too few people
running 5.3 seem to suffer from this.

Have you tried with 4.11?
I bet that would not generate these problems.

Regards,
Rob.

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


Re: Firefox and java

2005-02-16 Thread Matthew Seaman
On Tue, Feb 15, 2005 at 10:42:27PM -0500, RL wrote:
> This now works and all, but java on FreeBSD is far from perfect.  One
> of my favorite sites, www.espn.com, freezes when loaded in firefox
> with java enabled (try it out for yourself).  I had this same issue a
> while back when I installed java on a Fbsd box.

On the other hand vital enterprise productivity applications like

http://games.yahoo.com/games/downloads/dm.html

now work just fine...


Cheers,

Matthew


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


pgpe8uTaU5pxj.pgp
Description: PGP signature


where to change config for pkg_add

2005-02-16 Thread David Board (dacoto.com)
I want to change the ftp location that pkg_add goes to when I want to
add a new pkg. I am running 5.3 Release and currently pkg_add looks
in Latest for the pkg. I would like to be able to pick pkgs from the entire
list instead of just Latest section because some apps I want are not 
available. 

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


Re: Firefox and java

2005-02-16 Thread Matthew Seaman
On Tue, Feb 15, 2005 at 05:09:48PM -0600, John wrote:
> On Tue, Feb 15, 2005 at 06:00:51PM -0500, Benjamin Dover wrote:

> > ln -s /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so
> > /usr/X11R6/lib/browser_plugins/
> > Hope this helps.
> 
> BINGO!
> 
> Geez!  That's great - but how the HECK did you know this was the
> magic key?  This shouldn't be so ARCANE!!!

That's because the java plugin for Firefox/Mozilla/etc. is actually
part of the /Java/ port:

gravitas:...ports/java/jdk14:% pkg_which 
/usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so 
jdk-1.4.2p7

I agree, it is a bit arcane, but you can work out what to type by
grovelling through the contents of /usr/ports/java/jdk14/work after
you've built the port -- or you can be clever and find the places this
has been discussed on various FreeBSD mailing lists before now.  This
is a good site:

http://freebsd.rambler.ru/srch?words=firefox+java+plugin

Cheers,

Matthew

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


pgp8GdaTuqczw.pgp
Description: PGP signature


Re: Configure X Server

2005-02-16 Thread Zlatozar Zhelyazkov
I will suggest different way just type:

xorgcfg -textmode

In this way you will avoid editors ;)

Best,
Zlatozar

On Tue, 15 Feb 2005 14:49:07 -0600, W. D. <[EMAIL PROTECTED]> wrote:
> At 12:23 2/15/2005, Peterhin wrote:
> 
> >>OK thats great, now that I am there, my problem is with  say 'ee'
> >how do I edit the text.?
> >I am a total newbie to the CLI. Any help would be appreciated.
> >I typed 'ee  xorg.conf.new' it gives me the editor and the
> >'xorg.conf.new' at the bottom of the screen.
> 
> You may find 'pico' more intuitive:
> 
> cd /usr/ports/editors/pico
> 
> make install
> 
> More info:
> http://www.US-Webmasters.com/FreeBSD/Configuration/Shell/
> 
> Start Here to Find It Fast!â -> 
> http://www.US-Webmasters.com/best-start-page/
> $8.77 Domain Names -> http://domains.us-webmasters.com/
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox and java

2005-02-16 Thread Lowell Gilbert
John <[EMAIL PROTECTED]> writes:

> On Wed, Feb 16, 2005 at 08:37:11AM -0500, Lowell Gilbert wrote:

> > The firefox port wilil make that link for you, automatically, if the
> > JDK is installed when you're building firefox.
> 
> Yes, I've heard that.  Sorry - my original question was how to do it
> if you installed firefox from packages instead of ports.

This is the primary disadvantage of packages; they cannot adapt to the
existing configuration of your system the way ports can.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[no subject]

2005-02-16 Thread Leandro
Hello,

I wish to know if freeBSD supports the usb ethernet adapter unex hu001
Tnx

Best regards, 
  
Leandro
[EMAIL PROTECTED]
2005-02-16



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005

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



Re: Mounting discimages in FBSD 4.X

2005-02-16 Thread Lowell Gilbert
Bernt Hansson <[EMAIL PROTECTED]> writes:

> Is that possible?

Absolutely.

> How if it's possible?
> 
> Read the handbook, but nothing conclusive.

You seem to have missed the section that describes just this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Setting upFreeBSD with D-Link Wireless Router

2005-02-16 Thread Timothy Radigan
If you have a wireless-AP you can hook that directly into a standard PCI nic
on the BSD machine.  I have a similar setup where I'm at.  I'm letting the
BSD do dhcp/firewall/nat/router/dns for each of my LANs.  The AP is doing
WEP but for added security I have an encrypted VPN for the wireless LAN with
the BSD box doing IPSec for that.  I combined 2 how-to's I found online.
Here are the URLs if you want to take a look.

http://www.freebsddiary.org/ipsec-wireless.php
http://ezine.daemonnews.org/200401/wifi-ipsec.html

Tim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of rizazoe
Sent: Wednesday, February 16, 2005 12:37 AM
To: freebsd-questions@freebsd.org
Subject: Setting upFreeBSD with D-Link Wireless Router

I'm newbie and I'm trying to set up a test network
than isn't connected to Internet on FreeBSD 4.7

I was wondering if it is possible to set up my FreeBSD
4.7 as a authentication server for 802.1x security
using D-Link 624 Wireless Router.

1 more stupid question do I need a wireless NIC for
the FreeBSD box? 





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

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


  1   2   >