Re: How stable is FreeBSD WiFi support?

2008-10-03 Thread Da Rock

On Fri, 2008-10-03 at 23:07 -0700, Jeremy Chadwick wrote:
> On Sat, Oct 04, 2008 at 03:53:20PM +1000, Da Rock wrote:
> > 
> > On Fri, 2008-10-03 at 13:11 -0700, Yuri wrote:
> > > I have FreeBSD-70 machine and Linux Gentoo machines side by side (within 
> > > 10 feet).
> > > Gentoo Linux (with old AirLink101) connects to a particular encrypted 
> > > WEP network without any problems all the time.
> > > FreeBSD (with ral0 device and native driver) connection is very 
> > > unstable, keeps disappearing, though network card shows signal level as 
> > > -90:-95.
> > > dhclient fails to set up the card, often dhclient succeeds but all name 
> > > lookups fails. When internet connection is established all TCP 
> > > connections get dropped after 10-20 minutes or less.
> > > 
> > > I feel like I hit some bug in FreeBSD WiFi networking support.
> > > 
> > > Anyone has similar experience?
> > > Yuri
> > 
> > Yeah I had similar troubles on a laptop with an intel wifi (6.1 + 6.2).
> > I posted something about a week or two back, but I didn't get any
> > response here. Not sure where to go from here though, as I'm having
> > similar troubles with the ral driver too (desktop- 6.3).
> 
> Have you tried the freebsd-stable and freebsd-hackers lists?  Supplicant
> has been discussed there in the recent and late past.
> 

Yeah I believe I checked stable at the time, but I'm not subscribed to
hackers so I wouldn't know about there. I'll check stable again now that
you mention it.

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


Re: Vista Dual Boot issues - Does not start on a track boundary

2008-10-03 Thread Leslie Jensen


Tom Stuart skrev:

Hi Guys,

I'm nowhere near new on the FreeBSD front but have Never done a dual
boot with vista. Vista came pre-installed on this machine and I
created another partition using the resize function of Vista. When I'm
setting up my slices its complaining about Chunk ad0S1 does not start
on a track boundary...

Does anyone know if this is a common problem and the easiest way to
resolve this issue? I've tried going on and setting up the labels but
upon installation of packages it seems as though its having problem
doing a chroot due to the partitions not being setup correctly. I know
I could delete all slices and start out with freebsd and then install
vista but it would involve backing up approx. 150Gigs of data. I've
also done approximately 5 hours of searching archives, etc to no
avail.

I've tried everything with no success on FreeBSD7.0 Release, 7.1 beta
and 8.0 current.

Thanks,

Tom


Hi Tom

I just made a dualboot machine out of my new Laptop. I used Gparted 
because the Vista resize wouldn't give me the space I wanted.


Then I read in BSD Magazine that the Vista bootloader is a little 
different from the earlier Windows versions. The article mentioned a 
bootloader utility, "EasyBCD" http://neosmart.net/dl.php?id=1

Which I use.

When your installation of FreeBSD is finished, (don't install the 
bootloader) the BSD partition will be  the active partition and you will 
need to set the Vista partition active again with Gparted. Then boot 
into Vista and install the bootloader.


/Leslie

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


Re: How stable is FreeBSD WiFi support?

2008-10-03 Thread Jeremy Chadwick
On Sat, Oct 04, 2008 at 03:53:20PM +1000, Da Rock wrote:
> 
> On Fri, 2008-10-03 at 13:11 -0700, Yuri wrote:
> > I have FreeBSD-70 machine and Linux Gentoo machines side by side (within 
> > 10 feet).
> > Gentoo Linux (with old AirLink101) connects to a particular encrypted 
> > WEP network without any problems all the time.
> > FreeBSD (with ral0 device and native driver) connection is very 
> > unstable, keeps disappearing, though network card shows signal level as 
> > -90:-95.
> > dhclient fails to set up the card, often dhclient succeeds but all name 
> > lookups fails. When internet connection is established all TCP 
> > connections get dropped after 10-20 minutes or less.
> > 
> > I feel like I hit some bug in FreeBSD WiFi networking support.
> > 
> > Anyone has similar experience?
> > Yuri
> 
> Yeah I had similar troubles on a laptop with an intel wifi (6.1 + 6.2).
> I posted something about a week or two back, but I didn't get any
> response here. Not sure where to go from here though, as I'm having
> similar troubles with the ral driver too (desktop- 6.3).

Have you tried the freebsd-stable and freebsd-hackers lists?  Supplicant
has been discussed there in the recent and late past.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: exporting/exposing directory over the Internet?

2008-10-03 Thread Da Rock

On Sat, 2008-10-04 at 00:18 +0200, Ross Cameron wrote:
> Use SFTP (aka SSH file sharing) and mount the folder's using SftpDrive on
> Windows and various tools are available for doing that under UNIX.

Wouldn't an ssl version of webdav do the same sort of thing without all
the extra hassle in (heaven forbid) window$? I think there is a network
folder system that can access webdav on the M$ crap, and I believe there
is a webdavs in the apache modules. Correct me if I'm wrong...

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


Re: How stable is FreeBSD WiFi support?

2008-10-03 Thread Da Rock

On Fri, 2008-10-03 at 13:11 -0700, Yuri wrote:
> I have FreeBSD-70 machine and Linux Gentoo machines side by side (within 
> 10 feet).
> Gentoo Linux (with old AirLink101) connects to a particular encrypted 
> WEP network without any problems all the time.
> FreeBSD (with ral0 device and native driver) connection is very 
> unstable, keeps disappearing, though network card shows signal level as 
> -90:-95.
> dhclient fails to set up the card, often dhclient succeeds but all name 
> lookups fails. When internet connection is established all TCP 
> connections get dropped after 10-20 minutes or less.
> 
> I feel like I hit some bug in FreeBSD WiFi networking support.
> 
> Anyone has similar experience?
> Yuri

Yeah I had similar troubles on a laptop with an intel wifi (6.1 + 6.2).
I posted something about a week or two back, but I didn't get any
response here. Not sure where to go from here though, as I'm having
similar troubles with the ral driver too (desktop- 6.3).

Seems to be wpa supplicant from my troubleshooting. If I manually
reassociated with the iwi it was ok, but didn't hold out- I was going to
setup a script to run a check and do this. The ral driver works if I set
it auto, but wpa supplicant will only work in manual mode. Catch 22 on
that one...

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


Vista Dual Boot issues - Does not start on a track boundary

2008-10-03 Thread Tom Stuart
Hi Guys,

I'm nowhere near new on the FreeBSD front but have Never done a dual
boot with vista. Vista came pre-installed on this machine and I
created another partition using the resize function of Vista. When I'm
setting up my slices its complaining about Chunk ad0S1 does not start
on a track boundary...

Does anyone know if this is a common problem and the easiest way to
resolve this issue? I've tried going on and setting up the labels but
upon installation of packages it seems as though its having problem
doing a chroot due to the partitions not being setup correctly. I know
I could delete all slices and start out with freebsd and then install
vista but it would involve backing up approx. 150Gigs of data. I've
also done approximately 5 hours of searching archives, etc to no
avail.

I've tried everything with no success on FreeBSD7.0 Release, 7.1 beta
and 8.0 current.

Thanks,

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


SNAKK Media| Mobile Web Blog

2008-10-03 Thread Amir Farivar
Hey,

I just wanted to follow up with you because I think your website would be a
great addition to our Mobile Magazine and I would like to bring you on as a
premium partner.

The opportunity will take your syndicated content into the mobile web at no
development cost and create a revenue stream for you through ads we place
within the Mobile Magazine.

Please let me know when a good time can be for us to speak.

Blog On!
Amir 
Snakk Media | Los Angeles
Snakkmedia.com
Ph: +1 310 860 8031
Mob: +1 310 463 7227

Checkout 310.TV, the worlds first Mobile Magazine.  404.TV coming soon!


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


Re: exporting/exposing directory over the Internet?

2008-10-03 Thread Ross Cameron
Use SFTP (aka SSH file sharing) and mount the folder's using SftpDrive on
Windows and various tools are available for doing that under UNIX.

On Fri, Oct 3, 2008 at 10:06 PM, Joachim Rosenfeld
<[EMAIL PROTECTED]>wrote:

> I wish to store some files on my FreeBSD 7 server that will be used by
> various clients (FreeBSD, Windows, and Linux). What is a good way to
> export a directory so that it can be mounted on various systems and
> seen as a local directory?
>
> NFS is out, for security reasons.
>
> I was thinking of Samba, but I'm not sure of the security implications
> of using it over the public Internet.
>
> Somebody mentioned WebDAV, but I'm not familiar with it at all and I'm
> not sure if it can do what I need it to do.
>
> Any recommendations?
> ___
> 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: exporting/exposing directory over the Internet?

2008-10-03 Thread Peter Membrey
Hi Joachim,

If I were setting something like this up, I would make sure that it
was done over a VPN. OpenVPN is a pretty neat solution that works
easily on all of the platforms you'll be using. It's very straight
forward to set up and will give you a secure network that you can run
whatever file sharing solution you want.

If you ensure that you are only offering the resource via the VPN, you
can be sure (OpenVPN supports certificate and password based
authentication) that only trust people will be able to see the
service, much less access it.

I have noticed that there isn't a section on OpenVPN in the handbook -
I guess I should contribute one :)

Cheers,

Pete

2008/10/4 Joachim Rosenfeld <[EMAIL PROTECTED]>:
> I wish to store some files on my FreeBSD 7 server that will be used by
> various clients (FreeBSD, Windows, and Linux). What is a good way to
> export a directory so that it can be mounted on various systems and
> seen as a local directory?
>
> NFS is out, for security reasons.
>
> I was thinking of Samba, but I'm not sure of the security implications
> of using it over the public Internet.
>
> Somebody mentioned WebDAV, but I'm not familiar with it at all and I'm
> not sure if it can do what I need it to do.
>
> Any recommendations?
> ___
> 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]"


How stable is FreeBSD WiFi support?

2008-10-03 Thread Yuri
I have FreeBSD-70 machine and Linux Gentoo machines side by side (within 
10 feet).
Gentoo Linux (with old AirLink101) connects to a particular encrypted 
WEP network without any problems all the time.
FreeBSD (with ral0 device and native driver) connection is very 
unstable, keeps disappearing, though network card shows signal level as 
-90:-95.
dhclient fails to set up the card, often dhclient succeeds but all name 
lookups fails. When internet connection is established all TCP 
connections get dropped after 10-20 minutes or less.


I feel like I hit some bug in FreeBSD WiFi networking support.

Anyone has similar experience?
Yuri

FreeBSD xxx.xxx.xxx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Sep 27 
15:23:29 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


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


exporting/exposing directory over the Internet?

2008-10-03 Thread Joachim Rosenfeld
I wish to store some files on my FreeBSD 7 server that will be used by
various clients (FreeBSD, Windows, and Linux). What is a good way to
export a directory so that it can be mounted on various systems and
seen as a local directory?

NFS is out, for security reasons.

I was thinking of Samba, but I'm not sure of the security implications
of using it over the public Internet.

Somebody mentioned WebDAV, but I'm not familiar with it at all and I'm
not sure if it can do what I need it to do.

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


Re: port marked as IGNORE ?

2008-10-03 Thread RW
On Fri, 3 Oct 2008 13:26:04 -0400
"Michael P. Soulier" <[EMAIL PROTECTED]> wrote:

> When I portupgrade, I see this
> 
> [EMAIL PROTECTED] ~]# portupgrade -a [Updating the pkgdb 
> in /var/db/pkg ... - 369 packages found (-2 +1) (...). done]
> ** Port marked as IGNORE: misc/ldconfig_compat:
> isn't needed (part of base rc.d)
> 
> But a couple of ports need it to upgrade, so they fail. 
> 
> How would this have been marked as IGNORE and what should I do to
> permit upgrades to continue?

The port isn't needed in recent versions of the FreeBSD, and I see from
your other post that you recently upgraded from 5.x to 6.x.

Try deleting the port and running pkgdb -F.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: newsyslog and apache

2008-10-03 Thread Ian Smith
On Fri, 03 Oct 2008 10:08:52 +0200 "DA Forsyth" <[EMAIL PROTECTED]> wrote:
 > On 2 Oct 2008 , [EMAIL PROTECTED] entreated about
 >  "freebsd-questions Digest, Vol 235, Issue 11":

I'm replying to the digest too, so threading is doubly screwed :)

 > > No need to change log rotation software since the problem clearly is
 > > somewhere else. You need to inspect Apache's error logs to see why it
 > > cannot start.
 > 
 > the previous error log shows
 > [Wed Oct 01 08:00:03 2008] [notice] Graceful restart requested, doing 
 > restart
 > [Wed Oct 01 08:00:04 2008] [notice] seg fault or similar nasty error 
 > detected in the parent process

This is what you need to find and fix.  Most likely a config error of 
some sort .. possibly re some module - php extensions order, maybe?

What does 'apachectl configtest' have to say?
 
 > the new error log shows, after the manual start
 > [Wed Oct 01 08:39:09 2008] [warn] pid file /var/run/httpd.pid 
 > overwritten -- Unclean shutdown of previous Apache run?
 > [Wed Oct 01 08:39:09 2008] [notice] Apache/2.0.63 (FreeBSD) PHP/4.4.9 
 > with Suhosin-Patch DAV/2 SVN/1.5.2 configured -- resuming normal 
 > operations
 > 
 > those error messages are repeated any time I do a 
 >apachectl graceful
 > 
 > However, doing
 >apachectl stop
 >apachectlstart
 > works as expected.

See apachectl(8) .. apachectl graceful sends httpd a SIGUSR1, as does 
your previously mentioned newsyslog line, which shuts apache down but 
without murdering existing connections, while apachectl restart does.

However both graceful and restart run configttest before restarting, and 
it seems likely that's where/why it's bombing.  OTOH, apachectl start 
doesn't run configtest, maybe explaining why it starts up ok that way?

 > apache version is apache-2.0.63_2 from ports
 > uname -a gives
 > FreeBSD iwr.ru.ac.za 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Mon 
 > Jun  2 13:10:26 SAST 2008 
 > iwr.ru.ac.za:/usr/obj/usr/src/sys/KERNIWR70  i386

Here running apache 1.3 on 5.5-STABLE, but I doubt the apachectl 
functionality has changed significantly, though I may be wrong ..

 > php v4 is installed, though i do plan to upgrade that to V5 as soon 
 > as I get time to do it.

Good idea, especially if PHP is related to your apparent config issue.

 > PS: I used to use logrotate, but it too stopped working correctly, 
 > with apache process stopping in a similar way that is why I changed 
 > to newsyslog.  I rotate the logs monthly, and set it to 8am so there 
 > is a chance I'll be on hand to start apache to minimize downtime.

Theoretically if it survives an apachectl configtest, you should be 
good to go - and if it doesn't, neither method will restart apache.

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


portupgrade failure

2008-10-03 Thread Michael P. Soulier
So, I recently upgraded from 5.5 to 6.3, and as such, ran a portupgrade -fa
to rebuild my ports against 6.3. 

I just noticed this. 

===>  Cleaning for ruby-1.8.6.287,1
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb  in /var/db/pkg ... Inappropriate file
type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the pkgdb
 in /var/db/pkg ... - 366 packages found (-0 +366)
100200300..
done]
/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:215:in `origin': Failed
`Inappropriate file type or format' (PkgDB::DBError)
from /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:205:in `origin'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:245:in
`config_include?'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:215:in
`config_ignore_moved?'
from /usr/local/sbin/portupgrade:937:in `do_upgrade'
from /usr/local/sbin/portupgrade:815:in `main'
from /usr/local/sbin/portupgrade:811:in `each'
from /usr/local/sbin/portupgrade:811:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
from /usr/local/sbin/portupgrade:229:in `new'
from /usr/local/sbin/portupgrade:229:in `main'
from /usr/local/sbin/portupgrade:2208


Any idea what would cause this?

Thanks,
Mike
-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein


signature.asc
Description: Digital signature


port marked as IGNORE ?

2008-10-03 Thread Michael P. Soulier
When I portupgrade, I see this

[EMAIL PROTECTED] ~]# portupgrade -a [Updating the pkgdb  in
/var/db/pkg ... - 369 packages found (-2 +1) (...). done]
** Port marked as IGNORE: misc/ldconfig_compat:
isn't needed (part of base rc.d)

But a couple of ports need it to upgrade, so they fail. 

How would this have been marked as IGNORE and what should I do to permit
upgrades to continue?

Thanks,
Mike
-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein


signature.asc
Description: Digital signature


Re: Canon Pixma iP4500 - problem with colours

2008-10-03 Thread Roland Smith
On Fri, Oct 03, 2008 at 04:04:47PM +0100, Mike Clarke wrote:
> On Thursday 02 October 2008, Roland Smith wrote:
> 
> > Gimp uses Gutenprint doesn't it? So you could try using the
> > gutenprint driver?
> 
> That's the odd thing, CUPS is (supposed to be) using the gutenprint 
> driver. Here's a list of the relevant packages:

With my previous (non-postscript) LaserJet 6L printer, there were two drivers I
could use, IIRC. One labeled "LaserJet 6L" and one labeled "LaserJet 6L
(gimp-print)" or something like that.

> After a bit of fiddling about with the printer settings for the Gimp I 
> can get tolerable results when printing from the Gimp, though still not 
> as good as the Windows drivers give. Printing from any other 
> application just produces totally wrong psychedelic colours. There's an 
> example showing an original file and a couple of scans of prints at 
> . The images have lost some 
> quality in the scanning but effectively demonstrate what's happening.

It looks like it is rasterizing too coarse.
 
> CUPS is using the ppd file extracted 
> from 
> /usr/local/share/cups/model/gutenprint/5.1/en_GB/stp-bjc-PIXMA-iP4500.5.1.ppd.gz.
>  
> I'll not post the contents here ( > 2000 lines) but there's a copy at 
>  if anybody's interested.

I can't spot anything suspicous in that. Maybe you should try a
gutenprint mailing-list/forum. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpW77ECm5eU7.pgp
Description: PGP signature


Re: A question about the root shell

2008-10-03 Thread Erik Trulsson
On Fri, Oct 03, 2008 at 05:20:32PM +0200, Andreas Davour wrote:
> 
> I'm not a csh user, in fact I hate it. Though, I use it as it is out of 
> the box for root so I'm reminded I'm not an unpriv user any longer.
> 
> That being said I'm getting annoyed by the fact that the root shell is 
> always showing me all the "dot files" all the time. It clutters up the 
> terminal with so many files I don't see the ones I want to work with! Is 
> there a way to turn this feature off?
> 
> I even tried to start a bash and alias ls to ls -F but it still kept 
> showing me the dot-files I'd rather not see.
> 
> Anyone?
> 
> /Andreas


Is the problem the output of ls(1) or the output when using (some form of)
tab-completion or perhaps the result of evaluating wildcard characters ('*',
'?', etc)?

In the former case it has nothing to do with which shell you are using but
is instead a feature of ls(1). Read the ls(1) manpage and pay special
attention to the '-A' and '-I' options.


In the second and third case (tab completion and wildcard expansion) it
depends entirely on your shell how it is handled.
I am afraid I am not familiar enough with either bash or csh to say how (or
even if) it can be configured with them.
With zsh (my preferred shell) one can control if dot-files should be
expanded or not with 'setopt globdots'/'setopt noglobdots'. 




-- 

Erik Trulsson
[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: A question about the root shell

2008-10-03 Thread Jeremy Chadwick
On Fri, Oct 03, 2008 at 05:20:32PM +0200, Andreas Davour wrote:
> I'm not a csh user, in fact I hate it. Though, I use it as it is out of  
> the box for root so I'm reminded I'm not an unpriv user any longer.
>
> That being said I'm getting annoyed by the fact that the root shell is  
> always showing me all the "dot files" all the time. It clutters up the  
> terminal with so many files I don't see the ones I want to work with! Is  
> there a way to turn this feature off?
>
> I even tried to start a bash and alias ls to ls -F but it still kept  
> showing me the dot-files I'd rather not see.

This is not a shell issue, as it applies to csh, sh, and bash.

The "problem" is FreeBSD's /bin/ls.  See the ls(1) man page,
specifically the -A option description.  What you want is the -I flag.

Place the following in /root/.cshrc to get what you want:

alias ls/bin/ls -I

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Network card SiS 191 not detected

2008-10-03 Thread Amer Alhabsi
Hi,

I have Benq Joybook R43 notebook. It has network interface based on SiS 191.
However, I can't configure it as it does not show up in ifconfig nor in
sysinstall/configure/networking/interfaces. Dmesg says: No Driver Attached.
I wonder if there is a way to get it working.

Here is part of the output of

pciconf -lv

[EMAIL PROTECTED]:0:4:0:class=0x02 card=0x059417ff chip=0x01911039 
rev=0x02
hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
device = 'SIS191 SIS191'
class  = network
subclass   = ethernet

And here is dmesg.boot

Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU T7250  @ 2.00GHz (1999.45-MHz 686-class
CPU)
  Origin = "GenuineIntel"  Id = 0x6fd  Stepping = 13

Features=0xbfebfbff
  Features2=0xe3bd
  AMD Features=0x2010
  AMD Features2=0x1
  Cores per package: 2
real memory  = 936968192 (893 MB)
avail memory = 903118848 (861 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_ec0:  port 0x62,0x66 on acpi0
acpi_hpet0:  iomem 0xfed0-0xfed003ff on
acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
cpu0:  on acpi0
est0:  on cpu0
p4tcc0:  on cpu0
cpu1:  on acpi0
est1:  on cpu1
p4tcc1:  on cpu1
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
vgapci0:  port 0x9000-0x907f mem
0xc000-0xcfff,0xd400-0xd401 irq 16 at device 0.0 on pci1
isab0:  at device 2.0 on pci0
isa0:  on isab0
atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1080-0x108f at device 2.5 on pci0
ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
ohci0:  mem 0xd4204000-0xd4204fff irq 20 at device
3.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0:  on usb0
uhub0: 4 ports with 4 removable, self powered
ohci1:  mem 0xd4205000-0xd4205fff irq 21 at device
3.1 on pci0
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0, legacy support
usb1:  on ohci1
usb1: USB revision 1.0
uhub1:  on usb1
uhub1: 4 ports with 4 removable, self powered
ehci0:  mem 0xd4206000-0xd4206fff irq 22
at device 3.3 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2:  on usb2
uhub2: 8 ports with 8 removable, self powered
umass0:  on uhub2
pci0:  at device 4.0 (no driver attached)
atapci1:  port
0x10c8-0x10cf,0x10bc-0x10bf,0x10c0-0x10c7,0x10b8-0x10bb,0x10a0-0x10af irq 17
at device 5.0 on pci0
atapci1: [ITHREAD]
ata2:  on atapci1
ata2: [ITHREAD]
ata3:  on atapci1
ata3: [ITHREAD]
pcib2:  irq 16 at device 6.0 on pci0
pci2:  on pcib2
ath0:  mem 0xd410-0xd410 irq 16 at device 0.0 on
pci2
ath0: [ITHREAD]
ath0: unable to attach hardware; HAL status 13
device_attach: ath0 attach returned 6
pcib3:  irq 16 at device 7.0 on pci0
pci4:  on pcib3
pci0:  at device 15.0 (no driver attached)
acpi_lid0:  on acpi0
acpi_acad0:  on acpi0
battery0:  on acpi0
acpi_tz0:  on acpi0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
acpi_button0:  on acpi0
acpi_button1:  on acpi0
pmtimer0 on isa0
orm0:  at iomem 0xc-0xc,0xd-0xd17ff pnpid
ORM on isa0
ppc0: parallel port not found.
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 1.000 msec
hptrr: no controller detected.
acd0: DVDR  at ata0-master WDMA2
ad4: 152627MB  at ata2-master WDMA2
GEOM_LABEL: Label for provider ad4s1 is ext2fs//boot.
SMP: AP CPU #1 Launched!

Re: Canon Pixma iP4500 - problem with colours

2008-10-03 Thread Mike Clarke
On Thursday 02 October 2008, Roland Smith wrote:

> Gimp uses Gutenprint doesn't it? So you could try using the
> gutenprint driver?

That's the odd thing, CUPS is (supposed to be) using the gutenprint 
driver. Here's a list of the relevant packages:

kestrel:/home/mike% pkg_info -Ix cups gutenprint
cups-base-1.3.7_2   Common UNIX Printing System
cups-pstoraster-8.15.4_1 Postscript interpreter for CUPS printing to 
non-PS printers
gimp-gutenprint-5.1.7 GutenPrint Printer Driver
gutenprint-5.1.7The "meta-port" for GutenPrint
gutenprint-base-5.1.7 GutenPrint Printer Driver
gutenprint-cups-5.1.7_2 GutenPrint Printer Driver
gutenprint-ijs-5.1.7 GutenPrint Printer Driver
libgnomecups-0.2.3,1 Support library for gnome cups admistration

After a bit of fiddling about with the printer settings for the Gimp I 
can get tolerable results when printing from the Gimp, though still not 
as good as the Windows drivers give. Printing from any other 
application just produces totally wrong psychedelic colours. There's an 
example showing an original file and a couple of scans of prints at 
. The images have lost some 
quality in the scanning but effectively demonstrate what's happening.

CUPS is using the ppd file extracted 
from 
/usr/local/share/cups/model/gutenprint/5.1/en_GB/stp-bjc-PIXMA-iP4500.5.1.ppd.gz.
 
I'll not post the contents here ( > 2000 lines) but there's a copy at 
 if anybody's interested.

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


Re: More RAM for buffers?

2008-10-03 Thread RW
On Thu, 2 Oct 2008 13:14:35 -0400
Bill Moran <[EMAIL PROTECTED]> wrote:


> I've never been 100% clear on the exact differences, but it basically
> has to do with where the data in RAM came from.  Depending on whether
> it was a VM page, or a disk page will determine what bucket it goes
> into when it moves out of active.

The distinction is between clean pages (Cache) and dirty pages
(Inactive), a dirty page needs to be written to swap or synced to the
disk, before it can be reused. It's the cache queue that gives the
kernel "liquidity", once the free memory is drops below about 2%. It
actively balances the cache and inactive queues to maintain this.

> I'm fairly sure that inactive is memory used by program code.  

Inactive and cached queues are the first step to recycling memory. The
queues don't differentiate between different origins.

> When
> the program terminates, the memory is marked as inactive, which means
> the next time the program starts the code can simply be moved back to
> active and the program need not be reloaded from disk.

I think such pages can remain active. The level of active memory
seems to be mostly a matter of "stock-control". When I shutdown
Xorg/KDE, huge amounts of memory remain active for hours. When demand
for memory increases, the queues get rebalanced to provide more
cached/inactive memory. These figures don't really tell you much.

> Buffer and cache memory are disk data held at different points within
> the kernel.  I've never been 100% clear on the difference, and I
> believe it depends heavily on a thorough understanding of how the
> kernel works.
> 
> The other rule of thumb I've heard is that the closer memory is to the
> left side of top output, the less expensive it is for the kernel to
> move it to active ... inactive being the most efficient and cache
> requiring the most work by the kernel ... I could be wrong, though.

Partly, but it's more the other way around, the further to the right the
easier it is to reuse (not counting buffer and wired, which are
outside the normal VM/cache system). 

> I know that a lot of what I'm saying isn't authoritative, so I hope
> I'm not remembering any of this wrong.  I think to fully understand
> how it works you'll need to read _The_Design_and_Implementation_.
>

Matt Dillon's vm-design article is a good place to start. 

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/article.html





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


Re: More RAM for buffers?

2008-10-03 Thread Kirk Strauser
On Friday 03 October 2008, RW wrote:

> The terms are a bit misleading, because the don't all relate to the use
> of the memory from the user's perspective, but how it's seen within
> FreeBSD's integrated cache/VM system.

Thanks to you and everyone else who wrote.  I guess I'll go back to using it 
and letting it manage itself.  :-)
-- 
Kirk Strauser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: More RAM for buffers?

2008-10-03 Thread RW
On Thu, 2 Oct 2008 09:58:54 -0500
Kirk Strauser <[EMAIL PROTECTED]> wrote:

> I have an AMD system with 6GB of RAM.  From dmesg:
> 
> usable memory = 6428237824 (6130 MB)
> avail memory  = 6203797504 (5916 MB)
> 
> However, most of it is just sitting there when it looks like it could
> be used for buffers or cache:
> 
> Mem: 1186M Active, 3902M Inact, 468M Wired, 233M Cache, 214M Buf,
> 138M Free Swap: 8192M Total, 900K Used, 8191M Free
> 
> Since I've yet to find a great explanation for what the different
> types of memory are, could someone say why all that inactive memory
> is better than using it for cache or buffers?

The terms are a bit misleading, because the don't all relate to the use
of the memory from the user's perspective, but how it's seen within
FreeBSD's integrated cache/VM system.

Active, Inact, Cache and Free are all part of the life-cycle of normal
memory pages, they hold pretty much everything used by  processes,
and disk-caching. "Cache" actually has little to do with caching as
such; it contains pages that are still holding data, but can be
reused instantaneously because they are consistent with their backing
store.

In not exactly sure what "Buf" is, but I guess it's low-level disk
buffering memory, that can't be discarded the way normal disk caching
pages can.


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


Re: Utility to extract iso files without burning

2008-10-03 Thread Wojciech Puchar

mdconfig -a -t vnode -f isofile
mount_cd9660 /dev/md0 /somemountpoint




On Fri, 3 Oct 2008, Warren Liddell wrote:


Im looking for a GUI or command line that will allow me to extract information
within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64
___
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: Utility to extract iso files without burning

2008-10-03 Thread Glyn Millington
Warren Liddell <[EMAIL PROTECTED]> writes:

> Im looking for a GUI or command line that will allow me to extract 
> information 
> within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64


well, you can mount it and then search around inside ..


mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f /path/to/file.iso` /mount-point



Good luck!


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


Re: nat and firewall

2008-10-03 Thread Dominique Goncalves
On Fri, Oct 3, 2008 at 5:24 AM, fire jotawski <[EMAIL PROTECTED]> wrote:
>
>
> On Thu, Oct 2, 2008 at 7:39 PM, Dominique Goncalves
> <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> On Thu, Oct 2, 2008 at 6:09 AM, fire jotawski <[EMAIL PROTECTED]> wrote:
>> > On Thu, Sep 25, 2008 at 12:10 AM, Kevin Kinsey <[EMAIL PROTECTED]> wrote:
>> >
>> >> FBSD1 wrote:
>> >>
>> >>>
>> >>> natd_enable="YES"  This statement in rc.conf enables ipfw nated
>> >>> function.
>> >>> firewall_nat_enable="YES"  This is an invalid statement. No such thing
>> >>> as
>> >>> you have here.
>> >>>
>> >>
>> >> This is no longer true; he did indeed find "firewall_nat_enable"
>> >> in /etc/defaults/rc.conf.  The knob seems to have first appeared
>> >> in February in HEAD and I'm guessing it cues the system to use a
>> >> new kernel-based nat rather than natd(8), but I've not read anything
>> >> further about this, as my system isn't as up to date as the OP's.
>> >> I don't know when this change was MFC'ed, but apparently fairly
>> >> recently?
>> >>
>> >> I suppose we need someone a tad more "in the know" to straighten
>> >> that out for us.
>> >>
>> >
>> > up to this moment, i do not know if natd and firewall_nat function in
>> > the
>> > same or different.
>> > and is there firewall_nat_flags thing too ?
>>
>> I'll try to explain,
>>
>> natd_* knobs are for natd(8), a daemon
>> firewall_nat_* knobs are for ipfw(8), NAT is processed by the kernel
>>
>> firewall_nat_* was added in the begenning of year in RELENG_7
>>
>> http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.firewall?r1=1.52.2.2#rev1.52.2.2
>>
>> The NAT configuration is done by /etc/rc.firewall, you can read this
>> file to know how the configuration is done.
>>
>> This is two different ways to do NAT. I can't speak about performance,
>> kernel vs daemon.
>
> many thanks indeed for your clear explanations.
> so we simply use just one of them but not both, do not we ?

Yes.

> once again, i appreciate all of your kind asistances in my case.
>
> with best regards,
> psr
>
>

Regards.

-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Running cron jobs as nobody

2008-10-03 Thread Derek Ragona

At 10:11 AM 10/2/2008, DAve wrote:

Good morning all,

We have a cronjob we need to run as nobody from /etc/crontab and it seems 
to be not working. The job runs, but not as user nobody.


I noticed two things,

1) the job to update the locate DB runs as nobody, because the script uses 
su to become nobody.

echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3

2) nobody, as expected, has no shell or home dir in /etc/password.

I searched around for an answer but didn't see anything concerning this 
other than a patch to cron to check if setuid fails.


Is setting the user to nobody in /etc/crontab not possible?

Thanks,

DAve


I've done this two different ways:
One is to use sudo and have your script su -  to nobody.  You will need to 
test your script first before trying it through cron.


Create a cronjob for nobody using:
crontab -e -u nobody

Hope this helps.

-Derek 
--

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: Utility to extract iso files without burning

2008-10-03 Thread Patrick Lamaizière
Le Fri, 3 Oct 2008 20:28:44 +1000,
Warren Liddell <[EMAIL PROTECTED]> a écrit :

> Im looking for a GUI or command line that will allow me to extract
> information within an ISO file... im using FreeBSD 7.1-PRERELEASE

I never tried it but bsdtar is able to extract an iso image.

"tar creates and manipulates streaming archive files.  This
implementation can extract from tar, pax, cpio, zip, jar, ar, and ISO
9660 cdrom images and can create tar, pax, cpio, ar, and shar archives."

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


Re: Utility to extract iso files without burning

2008-10-03 Thread Manolis Kiagias

Warren Liddell wrote:
Im looking for a GUI or command line that will allow me to extract information 
within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64
  


You can mount an iso and copy files from it.

First create a memory disk device to contain the file system:

mdconfig -a -t vnode -f /path/to/your.iso -u md0

Then mount the file system as you would mount a CD-ROM:

mount -t cd9660 /dev/md0   /mnt

After you finish, first unmount then detach the md0 device:

umount /mnt
mdconfig -d -u md0

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


Re: Utility to extract iso files without burning

2008-10-03 Thread Vincent Hoffman
Warren Liddell wrote:
> Im looking for a GUI or command line that will allow me to extract 
> information 
> within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64
>   
Easiest way normally would be to mount the image and use the filesystem.
assuming you are not root and have sudo installed.

sudo mdconfig -a -t vnode -f filename.iso -u 7

(this assumes you dont already have an md7 device, not specifying -u
will automatically take the next available.)

then
sudo sudo mount -t cd9660 /dev/md7 /path/to/mountpoint

once you are done, umount it and

sudo mdconfig -d -u 7

man mdconfig has more info and another example.

Vince
> ___
> 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: Utility to extract iso files without burning

2008-10-03 Thread Valentin Bud
Hello Warren,


On Fri, Oct 3, 2008 at 12:28 PM, Warren Liddell <[EMAIL PROTECTED]> wrote:

> Im looking for a GUI or command line that will allow me to extract
> information
> within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64



 From the man page of mdconfig(8):
To mount an ISO 9660 CD image file:

# mdconfig -a -t vnode -u 10 -f cdimage.iso
# mount_cd9660 /dev/md10 /mnt

Afterwards you can access all the files within "cdimage.iso" as any other
files
in "/mnt".

To better understand what happens see
mdconfig(8)man
page.

all the best,
v

>
> ___
> 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]"


Utility to extract iso files without burning

2008-10-03 Thread Warren Liddell
Im looking for a GUI or command line that will allow me to extract information 
within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Jail, pf and ftpd: Connection refused

2008-10-03 Thread Max Laier
On Friday 03 October 2008 11:11:57 Redd Vinylene wrote:
> Greetings ladies and gentlemen!
>
> Why does the below pf.conf (run from box1) give me
> "getpeername(control_sock): Transport endpoint is not connected,
> Socket error (Connection refused) - reconnecting" when trying to log
> onto box3 via passive FTP? Active FTP gives me "425 Can't build data
> connection: Connection refused." (box2 and box3 are jails running off
> box1)

See ftp-proxy(8).

Note that active works with the ruleset you provided (due to the "pass out 
keep state"-rule), but there is obviously a firewall problem on the client 
preventing that.

> -
>
> [EMAIL PROTECTED] cat /etc/pf.conf
>
> box1 = "80.203.2.2"
>
> box2 = "80.203.2.3"
>
> box3 = "{ 80.203.2.4 [...] 80.203.2.127 }"
>
> ext_if = "rl0"
>
> set block-policy return
>
> set skip on { lo0 }
>
> scrub in
>
> pass out keep state
>
> block in
>
> pass in on $ext_if inet proto tcp from any to any port { 22 } keep state
>
> pass in on $ext_if inet proto tcp from any to $box2 port { 25, 53, 80,
> 110 } keep state
>
> pass in on $ext_if inet proto udp from any to $box2 port 53 keep state
>
> pass in on $ext_if inet proto tcp from any to $box3 port { 20, 21, 113
> } keep state
>
> pass in on $ext_if inet proto icmp from any to any keep state
>
> -
>
> [EMAIL PROTECTED] cat /etc/inetd.conf
>
> ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
>
> -
>
> I hope I've been verbose enough. Thank you!

-- 
/"\  Best regards,  | [EMAIL PROTECTED]
\ /  Max Laier  | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign  | Against HTML Mail and News
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Questions drivers for VGA and NIC

2008-10-03 Thread Da Rock

On Thu, 2008-10-02 at 10:25 -0400, Jerry McAllister wrote:
> On Wed, Oct 01, 2008 at 06:04:24PM -0400, Jerry wrote:
> 
> > On Wed, 1 Oct 2008 23:25:19 +0200 (CEST)
> > Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> > 
> > >> In all likelihood, the probability of any vendor creating FBSD
> > >> specific drivers is directly proportionate to the expenditure of
> > >> funds to create and maintain the driver versus the expected revenue
> > >> from such an expenditure.  
> > >
> > >giving out a specs will be the simplest way.
> > 
> > Any entity, or corporation, has a right to expect a return on their
> > investment. To expect a corporation to simply give away something,
> > thereby depriving their shareholders, partners or whatever, of their
> > rightfully expected monetary reward is foolish. It certainly is not a
> > well thought out  business model.
> 
> First, in cases like this, giving out the specs so someone can write 
> a good driver could increase their sales of cards which could, in 
> turn, increase their profit.So, it would help their business
> rather than hurt it.   They do not sell those drivers.   They just
> use them to sell video cards.Since the lack of a driver that
> works in FreeBSD limits their sales of video cards, then they are 
> making the business mistake you are indicating, only in a reverse 
> sort of way.
> 
> 
> Second, and very important.No corporation has any right to expect
> a return on their investment.   Investment is always a risk.  They
> might hope for a return, but they will have to work for it.  They will
> be fortunate to get it.   More business ventures fail than succeed.
> 
> Maybe it is only a case of using the wrong word, but it is still
> important to remember that there is no guarantee of profit.   That
> was the big failing of price controls - that the government got
> in to the business of guaranteeing profits and then the whole thing
> fell apart.

Ok, so this is in reply to the previous message on this thread as well
as this one. Based on what is said here (and I agree totally), then the
NDA would be only on the actually insider specs of the card- you'd have
to be a savant to extrapolate the actual guts of the card solely based
on the driver (in particular the special features in the hardware- if
they're not public knowledge anyway). So why the big hush hush then?

NDA signed and obviously a contract drawn which everyone agrees to-
manufacturer and programmer. Any reason why this wouldn't work? I know
of some that do this (ie m-Audio and OSS).

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


Jail, pf and ftpd: Connection refused

2008-10-03 Thread Redd Vinylene
Greetings ladies and gentlemen!

Why does the below pf.conf (run from box1) give me
"getpeername(control_sock): Transport endpoint is not connected,
Socket error (Connection refused) - reconnecting" when trying to log
onto box3 via passive FTP? Active FTP gives me "425 Can't build data
connection: Connection refused." (box2 and box3 are jails running off
box1)

-

[EMAIL PROTECTED] cat /etc/pf.conf

box1 = "80.203.2.2"

box2 = "80.203.2.3"

box3 = "{ 80.203.2.4 [...] 80.203.2.127 }"

ext_if = "rl0"

set block-policy return

set skip on { lo0 }

scrub in

pass out keep state

block in

pass in on $ext_if inet proto tcp from any to any port { 22 } keep state

pass in on $ext_if inet proto tcp from any to $box2 port { 25, 53, 80,
110 } keep state

pass in on $ext_if inet proto udp from any to $box2 port 53 keep state

pass in on $ext_if inet proto tcp from any to $box3 port { 20, 21, 113
} keep state

pass in on $ext_if inet proto icmp from any to any keep state

-

[EMAIL PROTECTED] cat /etc/inetd.conf

ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l

-

I hope I've been verbose enough. Thank you!

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


Re: Mysqldump password issue

2008-10-03 Thread Ivailo Tanusheff
Hi,

I suspect your password contains some illegal character for the comand 
line syntax. Change the password to 123 for example and test it with:
mysqldump -u user -p123 --all-databases > backup.sql
I suspect it will work OK, so you have to do one of the:
 - change password for something that does not contain any illegal in the 
meaning of shell scripting characters;
 - use quota on password line, i.e. mysqldump -u user -p'passwd' 
--all-databases > backup.sql

Regards,

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD





Andrei Brezan <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
02.10.2008 20:49

To
[EMAIL PROTECTED]
cc

Subject
Mysqldump password issue






Hello list,

I wanna do a
mysqldump -u user -ppasswd --all-databases > backup.sql

and all I get is
mysqldump: No match.

This happens either i put --all-databases or I specify any of the
databases. I want to do a backup as user root, that's why I use
all-databases opt.

If I use the command:
mysqldump -u root -p --all-databases >backup.sql
I get the password prompt, I type the passwd and everythig works great.
It seems that there is a problem with -p, i've tried --password with
same result.

If anyone has any ideea please let me know about it.
I mention that i use Freebsd 7_0 and mysql 5.0.67

Thank you


-- 
Andrei Brezan
310280 Arad - Romania
mobile <+40 740 089 315>
email <[EMAIL PROTECTED]>
www 
___
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: Questions drivers for VGA and NIC

2008-10-03 Thread Bruce Cran

Robert Huff wrote:

Jerry <[EMAIL PROTECTED]>:

  

nVidia, at least, is aware of the issue and has offered to
write and maintain drivers ... provided certain capabilities are
added to the kernel.  (See previous discussion in this mailing list.)
This has - obviously - not happened, and I do not know of work
in progress.
I do agree that the first vendor to provide working drivers
will make quite a few sales.  (Me among them.)
  

Unfortunately, doing a quick search, I was not able to locate the
article(s) you referenced above. I would like to see exactly what
NVIDIA is requesting.



Sorry - wrong list.  Try:

http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html
  


There's also http://wiki.freebsd.org/NvidiaFeatureRequests

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


Re: Intel S3210SHLC motherboard and FreeBSD 7.0

2008-10-03 Thread Jeremy Chadwick
On Fri, Oct 03, 2008 at 01:37:56AM -0700, Jeremy Chadwick wrote:
> 2) BIOS: Thermal monitoring 

I should be more precise: I'm referring to things like fan speed
auto-slowdown or PWM.  These boards often offer numerous methods of
throttling fans and other features.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: ZFS on root with atime=off

2008-10-03 Thread Jeremy Chadwick
On Fri, Oct 03, 2008 at 11:26:52AM +0300, Artis Caune wrote:
> Hi everyone,
> 
> I install ZFS on root just like in Andrew ZFSOnRoot wiki page.
> I don't use legacy mount points.
> 
> I also set "atime=off" on tank and all partitions inherit it from tank.
> When I reboot after install, root file system is mounted with atime option:
> # zfs get atime tank
> NAME  PROPERTY  VALUE  SOURCE
> tank  atime on temporary
> 
> I can fix this with creating entry in fstab for root fs with noatime,
> but maybe there is some way how to pass options to vfs.root.mountfrom?

This question should be going to freebsd-fs, not freebsd-questions.
Please re-post it there, and CC [EMAIL PROTECTED] (ZFS maintainer).

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: Intel S3210SHLC motherboard and FreeBSD 7.0

2008-10-03 Thread Jeremy Chadwick
On Thu, Oct 02, 2008 at 11:58:24PM -0700, Carl wrote:
> I've had a couple of incidents where pressing the reset button actually  
> powers down the server for 5 seconds or so before automatically powering  
> back up. Not a big deal, but doesn't instill confidence in this 
> motherboard.

This is common on Intel CPU/chipset boards.  It has to do with one
of a couple different things:

1) BIOS: CPU virtualisation support
2) BIOS: Thermal monitoring 
3) BIOS: Other BIOS options which I can't remember

I've seen this happen on Intel boards, as well as nVidia Socket 775
boards, and Asus boards.  It's become "normal" in this day and age;
otherwise, see if there's a BIOS upgrade (on Asus boards this usually
fixes it; if you change any of those BIOS options, the hard power-off
will happen once, but from that point on reset will behave like you
expect).

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


ZFS on root with atime=off

2008-10-03 Thread Artis Caune
Hi everyone,

I install ZFS on root just like in Andrew ZFSOnRoot wiki page.
I don't use legacy mount points.

I also set "atime=off" on tank and all partitions inherit it from tank.
When I reboot after install, root file system is mounted with atime option:
# zfs get atime tank
NAME  PROPERTY  VALUE  SOURCE
tank  atime on temporary

I can fix this with creating entry in fstab for root fs with noatime,
but maybe there is some way how to pass options to vfs.root.mountfrom?




-- 
regards,
Artis Caune

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


Re: newsyslog and apache

2008-10-03 Thread DA Forsyth
On 2 Oct 2008 , [EMAIL PROTECTED] entreated about
 "freebsd-questions Digest, Vol 235, Issue 11":

> No need to change log rotation software since the problem clearly is
> somewhere else. You need to inspect Apache's error logs to see why it
> cannot start.
> 

the previous error log shows
[Wed Oct 01 08:00:03 2008] [notice] Graceful restart requested, doing 
restart
[Wed Oct 01 08:00:04 2008] [notice] seg fault or similar nasty error 
detected in the parent process

the new error log shows, after the manual start
[Wed Oct 01 08:39:09 2008] [warn] pid file /var/run/httpd.pid 
overwritten -- Unclean shutdown of previous Apache run?
[Wed Oct 01 08:39:09 2008] [notice] Apache/2.0.63 (FreeBSD) PHP/4.4.9 
with Suhosin-Patch DAV/2 SVN/1.5.2 configured -- resuming normal 
operations

those error messages are repeated any time I do a 
   apachectl graceful

However, doing
   apachectl stop
   apachectlstart
works as expected.

apache version is apache-2.0.63_2 from ports
uname -a gives
FreeBSD iwr.ru.ac.za 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Mon 
Jun  2 13:10:26 SAST 2008 
iwr.ru.ac.za:/usr/obj/usr/src/sys/KERNIWR70  i386

php v4 is installed, though i do plan to upgrade that to V5 as soon 
as I get time to do it.

PS: I used to use logrotate, but it too stopped working correctly, 
with apache process stopping in a similar way that is why I changed 
to newsyslog.  I rotate the logs monthly, and set it to 8am so there 
is a chance I'll be on hand to start apache to minimize downtime.


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


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


acpi_tz0: _TMP value is absurd ignored (-269.7C)

2008-10-03 Thread dhaneshk k


People ;


I installed freebsd-7.0  in a p4 machine , after installation when I reboot the 
machine , I am getting the message 

acpi_tz0: _TMP value is absurd ignored (-269.7C)   in every 3 seconds ..


intel p4 3.0 GHz 

Intel 82915G  (915G GMCH )


How can i get rid off this ... can someone shed some light on this regard ..


Thanks in advance 

Dhanesh 

_
Movies, sports & news! Get your daily entertainment fix, only on live.com
http://www.live.com/?scope=video&form=MICOAL___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"