Re: Quick question about sound drivers (esp. snd_hda)

2011-03-12 Thread Chris Rees
On 12 March 2011 08:34, Bruce Cran  wrote:
> On Fri, 11 Mar 2011 15:29:44 -0500
> Brian Waters  wrote:
>
>> It seems to me that under /dev, you can have the following
>> sound-related device files:
>>
>> dspX
>> dspX.Y
>> (among others)
>>
>> I'm having some trouble getting my sound to work (Dell Inspiron
>> E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
>> manpages for snd and snd_hda (which is the appropriate driver), and
>> increased the verbosity of the drivers and read the kernel log and
>> /dev/sndstat, but I still can't quite wrap my head around everything.
>
> If the driver appears to load, then /dev/dsp should be created
> automatically when something tries to access it (e.g. cat /dev/random
>> /dev/dsp).
>

An important point that I had trouble with recently; the dsp* files don't
appear until they are read/written to!

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


Re: Quick question about sound drivers (esp. snd_hda)

2011-03-12 Thread Bruce Cran
On Fri, 11 Mar 2011 15:29:44 -0500
Brian Waters  wrote:

> It seems to me that under /dev, you can have the following
> sound-related device files:
> 
> dspX
> dspX.Y
> (among others)
> 
> I'm having some trouble getting my sound to work (Dell Inspiron
> E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
> manpages for snd and snd_hda (which is the appropriate driver), and
> increased the verbosity of the drivers and read the kernel log and
> /dev/sndstat, but I still can't quite wrap my head around everything.

If the driver appears to load, then /dev/dsp should be created
automatically when something tries to access it (e.g. cat /dev/random
> /dev/dsp).

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


Re: Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Bernt Hansson

2011-03-11 21:29, Brian Waters:

It seems to me that under /dev, you can have the following
sound-related device files:

dspX
dspX.Y
(among others)

I'm having some trouble getting my sound to work (Dell Inspiron
E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
manpages for snd and snd_hda (which is the appropriate driver), and
increased the verbosity of the drivers and read the kernel log and
/dev/sndstat, but I still can't quite wrap my head around everything.

What I'm wondering is: what exactly is the meaning of X and Y above?
I'm assuming that X comes from the "association numbers" in the
snd_hda driver, but I could be wrong. Please correct me!


This is what I think.

dsp0.0 is the first device on the first "bus" and so on.


%ls -l /dev/ds*
crw-rw-rw-  1 root  wheel0, 155 11 Mar 19:16 /dev/dsp0.0
crw-rw-rw-  1 root  wheel0, 148  9 Mar 11:16 /dev/dsp1.0
crw-rw-rw-  1 root  wheel0, 146  9 Mar 11:16 /dev/dsp2.0
crw-rw-rw-  1 root  wheel0, 121  9 Mar 11:16 /dev/dsp3.0

%cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0:  (play/rec) default
pcm1:  (play/rec)
pcm2:  (play/rec)
pcm3:  (play)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Erich Dollansky
Hi,

On Saturday 12 March 2011 04:29:44 Brian Waters wrote:
> It seems to me that under /dev, you can have the following
> sound-related device files:
> 
> dspX
> dspX.Y
> (among others)
> 
this is what you see after your driver is loaded. You might have to tell an 
application which one to use.

> I'm having some trouble getting my sound to work (Dell Inspiron
> E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
> manpages for snd and snd_hda (which is the appropriate driver), and
> increased the verbosity of the drivers and read the kernel log and
> /dev/sndstat, but I still can't quite wrap my head around everything.
> 
I have different hardware but I use the same driver. I did not compile it into 
the kernel after getting into trouble. Since I load it with:

kldload snd_hda

it works as expected. If trouble come up, I kick it our and reload it.

> What I'm wondering is: what exactly is the meaning of X and Y above?
> I'm assuming that X comes from the "association numbers" in the
> snd_hda driver, but I could be wrong. Please correct me!
> 
I do not really know but I have had to tell vlc which to use.

Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Brian Waters
Yeah, I have tried all the basic stuff.

At this point, I've basically accepted that solving the problem on my
machine is going to involve a whole bunch of technical stuff that I
don't have the patience for - reading the HDA spec and the codec
datasheet, reading the driver code, and making changes to the driver
and default settings where necessary. (The hardware does work fine
with the Linux kernel.)

So yeah... that's probably never going to happen. I'm still wondering
where the numbers in the names for the device special files come from.

And thanks, Frank.

- BW



On Fri, Mar 11, 2011 at 6:31 PM, Frank Shute  wrote:
> On Fri, Mar 11, 2011 at 03:29:44PM -0500, Brian Waters wrote:
>>
>> It seems to me that under /dev, you can have the following
>> sound-related device files:
>>
>> dspX
>> dspX.Y
>> (among others)
>>
>> I'm having some trouble getting my sound to work (Dell Inspiron
>> E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
>> manpages for snd and snd_hda (which is the appropriate driver), and
>> increased the verbosity of the drivers and read the kernel log and
>> /dev/sndstat, but I still can't quite wrap my head around everything.
>>
>> What I'm wondering is: what exactly is the meaning of X and Y above?
>> I'm assuming that X comes from the "association numbers" in the
>> snd_hda driver, but I could be wrong. Please correct me!
>>
>> Thanks,
>> Brian Waters
>
> Have you tried setting the default unit:
>
> # sysctl hw.snd.default_unit=1
>
> If that works, you can make it permanent with:
>
> # echo "hw.snd.default_unit=1" >> /etc/sysctl.conf
>
> If it doesn't, you have to post the output of:
>
> $ cat /dev/sndstat
>
> Make sure your volume is turned up: mixer(8)
>
> HTH.
>
> Regards,
>
> --
>
>  Frank
>
>  Contact info: http://www.shute.org.uk/misc/contact.html
>
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Frank Shute
On Fri, Mar 11, 2011 at 03:29:44PM -0500, Brian Waters wrote:
>
> It seems to me that under /dev, you can have the following
> sound-related device files:
> 
> dspX
> dspX.Y
> (among others)
> 
> I'm having some trouble getting my sound to work (Dell Inspiron
> E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
> manpages for snd and snd_hda (which is the appropriate driver), and
> increased the verbosity of the drivers and read the kernel log and
> /dev/sndstat, but I still can't quite wrap my head around everything.
> 
> What I'm wondering is: what exactly is the meaning of X and Y above?
> I'm assuming that X comes from the "association numbers" in the
> snd_hda driver, but I could be wrong. Please correct me!
> 
> Thanks,
> Brian Waters

Have you tried setting the default unit:

# sysctl hw.snd.default_unit=1

If that works, you can make it permanent with:

# echo "hw.snd.default_unit=1" >> /etc/sysctl.conf

If it doesn't, you have to post the output of:

$ cat /dev/sndstat

Make sure your volume is turned up: mixer(8)

HTH.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpzIsMzeo4UM.pgp
Description: PGP signature


Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Brian Waters
It seems to me that under /dev, you can have the following
sound-related device files:

dspX
dspX.Y
(among others)

I'm having some trouble getting my sound to work (Dell Inspiron
E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
manpages for snd and snd_hda (which is the appropriate driver), and
increased the verbosity of the drivers and read the kernel log and
/dev/sndstat, but I still can't quite wrap my head around everything.

What I'm wondering is: what exactly is the meaning of X and Y above?
I'm assuming that X comes from the "association numbers" in the
snd_hda driver, but I could be wrong. Please correct me!

Thanks,
Brian Waters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: [GJournal+Geli] Quick question before installation

2010-02-26 Thread Ivan Voras

On 02/26/10 14:40, Malibu Carl wrote:

Hi list

I am new to all these features and I am about to install FreeBSD8.0 from a
USB Drive.

Before I take any further steps, I would like to ask whether is possible to
perform an installation having an encrypted journaled UFS2 filesystem.

As far as I know, I would say it is possible since gjournal and UFS2 operate
on top of geli.

Is this correct?


Yes, you would have this graph of GEOM classes:
DISK - [possibly some partitions or slices] - GELI - GJOURNAL - UFS

GJOURNAL and UFS need to be together, other classes are not position 
sensitive (within reason).


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


[GJournal+Geli] Quick question before installation

2010-02-26 Thread Malibu Carl
Hi list

I am new to all these features and I am about to install FreeBSD8.0 from a
USB Drive.

Before I take any further steps, I would like to ask whether is possible to
perform an installation having an encrypted journaled UFS2 filesystem.

As far as I know, I would say it is possible since gjournal and UFS2 operate
on top of geli.

Is this correct?

Thanks in advance and have a nice day.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Quick question about http://www.freebsd.org/docs/books.html

2010-02-05 Thread Jason
Hi Cassandra, 


I certainly don't speak for FreeBSD, however I don't believe you would need
to arrange any price to put a listing on this page.

If you would be so kind to email the text and a pointer to the website, I,
or many other capable documentation specialists, would be happy to add it to
the website listing.

I hope this helps, and look forward to seeing the contribution.

Thanks!
Jason

On Fri, Feb 05, 2010 at 06:35:16PM -0500, Cassandra Smith thus spake:

Hello,

I'm interested in placing a promotional link on your page: 
http://www.freebsd.org/docs/books.html.

The link would be for a website which offers used college textbooks.

I don't have the biggest budget, but hopefully there is a reasonable price we 
could arrange.

Please let me know if you're interested, and if not thanks for your time.

Thanks!

Cassandra Smith
http://www.betterlinkadvertising.com/
1-800-764-8130


If you are uninterested and do not wish to receive offers like this please
copy and paste (or click) this link on your browser, 
http://www.betterlinkadvertising.com/remove.html?id=1265354049:183044
to be removed from our list and we will never contact you again. Thank you for 
your time.


DISCLAIMER: This email and any attachments to it may be confidential and are 
intended solely for the use of the individual to whom it is addressed. Any 
views or opinions expressed are solely those of the author and do not 
necessarily represent those of Better Link Advertising.  If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone.  Please contact the sender if you 
believe you have received this email in error.

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


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


Quick question about http://www.freebsd.org/docs/books.html

2010-02-05 Thread Cassandra Smith
Hello, 

I'm interested in placing a promotional link on your page: 
http://www.freebsd.org/docs/books.html.

The link would be for a website which offers used college textbooks.

I don't have the biggest budget, but hopefully there is a reasonable price we 
could arrange.

Please let me know if you're interested, and if not thanks for your time.

Thanks! 

Cassandra Smith
http://www.betterlinkadvertising.com/
1-800-764-8130


If you are uninterested and do not wish to receive offers like this please 
copy and paste (or click) this link on your browser, 
http://www.betterlinkadvertising.com/remove.html?id=1265354049:183044
to be removed from our list and we will never contact you again. Thank you for 
your time.


DISCLAIMER: This email and any attachments to it may be confidential and are 
intended solely for the use of the individual to whom it is addressed. Any 
views or opinions expressed are solely those of the author and do not 
necessarily represent those of Better Link Advertising.  If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone.  Please contact the sender if you 
believe you have received this email in error.

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


Re: quick question regarding jails.

2008-07-18 Thread David Allen
On Fri, Jul 18, 2008 at 1:46 AM, Wojciech Puchar
<[EMAIL PROTECTED]> wrote:
>>
>> Just wondering if a box has 2 Ethernet cards with each card going to a
>> different gateway/network, is it possible to stick a jail on the machine
>> listening on one network interface and routing data out one
>> card/network/gatway while the rest of the system uses the other port and
>> gateway/network.
>
> yes - no problem

For most values of "yes".  For others, the answer is "It depends."

Yes, you can configure daemons running on the host to bind to one
interface, and configure daemons running on the jail to bind to a
different interface.   However, host <-> jail communications occur over
loopback and "routing data" between the two, if that's the question being
asked, has its limitations.

I brought up this problem just recently.

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=407605+0+archive/2008/freebsd-questions/20080713.freebsd-questions

To sum up, if jail host running at 10.0.0.1 connects to a jail running at
10.0.0.2, the traffic will occur over lo0, and BOTH endpoints of that
connection will use the jail (10.0.0.2) address.  To my mind, that can be
problematic.

You can modify the routing table so that a host -> jail connection exits
an actual interface (and uses that interface's IP address).  However, this
offers limited usefulness as you can't do the same on the jail side
(there's only one routing table to speak of), and return traffic won't be
seen on that interface.

The above applies irrespective of whether the jail host and the jail are
on the same or different network, or on the same or different NICs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: quick question regarding jails.

2008-07-18 Thread Wojciech Puchar


Just wondering if a box has 2 Ethernet cards with each card going to a 
different gateway/network, is it possible to stick a jail on the machine 
listening on one network interface and routing data out one 
card/network/gatway while the rest of the system uses the other port and 
gateway/network.


yes - no problem



I hope that makes sense.

TIA

cheers
cya
Andrew

--
Network Administrator / Manager
Webzone Internet

1st Floor (Oakley Street Entrance)
167 Grote Street
Adelaide SA, 5000

Phone 1300 303 932
Fax   08 8221 6204
Email [EMAIL PROTECTED]
 [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]"


quick question regarding jails.

2008-07-18 Thread Andrew D (Webzone)

Howdy all,

Just wondering if a box has 2 Ethernet cards with each card going to a 
different gateway/network, is it possible to stick a jail on the machine 
listening on one network interface and routing data out one 
card/network/gatway while the rest of the system uses the other port and 
gateway/network.


I hope that makes sense.

TIA

cheers
cya
Andrew

--
Network Administrator / Manager
Webzone Internet

1st Floor (Oakley Street Entrance)
167 Grote Street
Adelaide SA, 5000

Phone 1300 303 932
Fax   08 8221 6204
Email [EMAIL PROTECTED]
  [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: Quick question about PF and ALTQ

2007-11-12 Thread Girish Venkatachalam
On 14:03:29 Nov 11, Peter Boosten wrote:
> Hi all,
> 
> One quick question: is it possible to filter specific kinds of traffic
> with altq, traffic that is not bound to specific IP addresses, like online
> radio?
> 
 
Looks like I finally understood what you want.

You want to block the protocol from/to *any* IP address.

This is easily done.

block all
pass out all to { http smtp ftp }

This is a very "cruel" ruleset. :)

Instead you actually want this one.

nonbusiess= "{" 522 bittorrent ... "}"

block quick drop out all to port $nonbusiness

As you can see using pf, you can leave out anything.

That is the power of this marvelous creation.

It gives tremendous power to firewalls.

In fact I would venture to say it is the best software available for
firewalling functionality.

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


Re: Quick question about PF and ALTQ

2007-11-12 Thread Girish Venkatachalam
On 10:17:52 Nov 12, Peter Boosten wrote:
 
> Yu, it does. Very nice explanation, thanx.
> 

NP. Thanks.

> 
> Well, it's actually quite simple: our internet access line, which is used
> by several people (directly, without a proxy server, but with a FreeBSD
> firewall). Our management wants to block unwanted traffic (so not: wants
> to block unwanted sited - which would be very easy), like p2p and online
> radio, since this traffic is:
> - non business related
> - bandwidth consuming

In that case you don't need QoS at all.

Just use pf for it.

Refer to the first mail I sent in this thread. All the info you need is
right there.

Don't worry about altq.

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


Re: Quick question about PF and ALTQ

2007-11-12 Thread [LoN]Kamikaze
Peter Boosten wrote:
> On Mon, November 12, 2007 08:04, Girish Venkatachalam wrote:
> 
>> Hope the above explanation suffices.
> 
> Yu, it does. Very nice explanation, thanx.
> 
>>
>> Can you clarify your needs a bit more?
> 
> Well, it's actually quite simple: our internet access line, which is used
> by several people (directly, without a proxy server, but with a FreeBSD
> firewall). Our management wants to block unwanted traffic (so not: wants
> to block unwanted sited - which would be very easy), like p2p and online
> radio, since this traffic is:
> - non business related
> - bandwidth consuming
> 
> Peter

You just drop all traffic except for that over wanted ports, such as for http,
https, ftp, smtp, pop3, maybe some instant messengers...

That won't help against tunneling, though.



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


Re: Quick question about PF and ALTQ

2007-11-12 Thread Peter Boosten
On Mon, November 12, 2007 08:04, Girish Venkatachalam wrote:

>
> Hope the above explanation suffices.

Yu, it does. Very nice explanation, thanx.

>
>
> Can you clarify your needs a bit more?

Well, it's actually quite simple: our internet access line, which is used
by several people (directly, without a proxy server, but with a FreeBSD
firewall). Our management wants to block unwanted traffic (so not: wants
to block unwanted sited - which would be very easy), like p2p and online
radio, since this traffic is:
- non business related
- bandwidth consuming

Peter



-- 
http://www.boosten.org

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


Re: Quick question about PF and ALTQ

2007-11-11 Thread Girish Venkatachalam
On 18:49:37 Nov 11, Peter Boosten wrote:
> Thanks for your answer, although that's not quite what I'm looking for:
> 

Okay. Find my answer below.

> I know it's possible to 'shape' the traffic with altq, so it's possible in
> theory to shape certain kind of traffic to almost nihil. Smart devices
> like packetshapers (and even some proxy appliances like Blue Coat) have
> separate categories for streaming media, so I was wondering if PF and altq
> could do the same.

Well I have no idea about appliances or commercial software. 

I can however tell you what I know. I have never tried these things but
I can tell you what I have understood.

First and foremost you can only shape outgoing traffic. You cannot do
QoS with incoming traffic. You might be able to manipulate things a
little but you have far more power when it comes to deciding how you
want others to receive packets from you.

This is the basic idea. You can only do traffic shaping with egress
traffic. Not with ingress traffic.

Now, pf + altq can do very sophisticated traffic shaping.

There are three categories of queuing disciples supported by pf.

a ) class based queuing (cbq)

b ) priority based queuing (priq)

c ) hierarchical fair service curve (hfsc)

Each of these mechanisms have pros and cons and you have to pick one of
them based on your requirements.

The configuration for basic QoS management consists of three steps.

1) The altq statement ( which interface to work on , how much bandwidth
you want to play around with and also the queuing discipline (one of
the above)

2) You have to define the "queue" rules to determine how the total
bandwidth in the above line has to be split amongst the various
categories. Typically they are split into multiple queues based on port
numbers but other possibilities also exist. For instance you will want
to allocate bulk of the bandwidth for important mail traffic and
browsing but you want to restrict p2p and other protocols. It is the
"queue" lines that also determine what to do when there is congestion. 
 (IOW most of the tweaking happens here :)

3) Next step is to use the pf filter rules to allocate which queues to
use for handling which traffic

I shall illustrate with an example. This is not my own. I am taking it
from the pf man page.

  1)  altq on dc0 cbq bandwidth 5Mb queue { std, http, mail, ssh }

  2) queue std bandwidth 10% cbq(default)
 queue http bandwidth 60% priority 2 cbq(borrow red) \
   { employees, developers }
 queue  developers bandwidth 75% cbq(borrow)
 queue  employees bandwidth 15%
 queue mail bandwidth 10% priority 0 cbq(borrow ecn)
 queue ssh bandwidth 20% cbq(borrow) { ssh_interactive, ssh_bulk }
 queue  ssh_interactive bandwidth 50% priority 7 cbq(borrow)
 queue  ssh_bulk bandwidth 50% priority 0 cbq(borrow)

 3)  block return out on dc0 inet all queue std
 pass out on dc0 inet proto tcp from $developerhosts to any port 80
\
   keep state queue developers
 pass out on dc0 inet proto tcp from $employeehosts to any port 80 \
   keep state queue employees
 pass out on dc0 inet proto tcp from any to any port 22 \
   keep state queue(ssh_bulk, ssh_interactive)
 pass out on dc0 inet proto tcp from any to any port 25 \
   keep state queue mail

As you can see the first line is the altq directive. You have defined a
list of queues (std, http, mail, ssh) and also mentioned that you want
to use class based queuing.

Then the queue rules determine how individual queues should share the
bandwidth amongst themselves. But we are not quite done yet.

The most critical step is the filter rules that determine when to queue
traffic and which queue to assign to.

That happens in 3). 

It should be self explanatory.

Please note that we have used "pass out" which corresponds to my main
idea of determining how traffic leaves our network.

Once data arrives on the interface, it is already too late to do QoS
manipulation.

This is not completely true (you can do bandwidth throttling) but at
least relatively speaking this idea appears to be correct.

> 
> Your solution works, however you'll have to know what sites are being
> visited in order to block them entirely.
> 

Hope the above explanation suffices.

Can you clarify your needs a bit more?

Thanks.

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


Re: Quick question about PF and ALTQ

2007-11-11 Thread Peter Boosten
On Sun, November 11, 2007 20:16, Matthew Seaman wrote:
>>
>>> On 14:03:29 Nov 11, Peter Boosten wrote:
>>>> Hi all,
>>>>
>>>> One quick question: is it possible to filter specific kinds of
>>>> traffic with altq, traffic that is not bound to specific IP
>>>> addresses, like online radio?
>>>>
>
> If you can identify the traffic by the means available to you...
[snip]
> ..approach you may be able to apply the same concept to your traffic.
>

Thanks for your (good) answer, Matthew, I'll start a search for
appropriate software then.

Regards,

Peter


-- 
http://www.boosten.org

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


Re: Quick question about PF and ALTQ

2007-11-11 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Peter Boosten wrote:
> On Sun, November 11, 2007 15:43, Girish Venkatachalam wrote:
>> On 14:03:29 Nov 11, Peter Boosten wrote:
>>
>>> Hi all,
>>>
>>>
>>> One quick question: is it possible to filter specific kinds of traffic
>>> with altq, traffic that is not bound to specific IP addresses, like
>>> online radio?
>>>
>> Yes.
>>
>>
>> Not altq(It is for QoS).
>>
> 
> the OpenBSD site mentiones 'Class Based Queueing' on this page:
> http://www.openbsd.org/faq/pf/queueing.html
> 
> There's some 'example' that userB might get 250K for 'audio', however the
> entire page fails to explain how this could be done. Maybe someone on this
> list got it running...

If you can identify the traffic by the means available to you
provided by pf(4) then, yes certainly you can use ALTQ or other
means to control the bandwidth permitted for that traffic.

It's a big /if/ however.  pf(4) works at layers 2 and 3 -- that
is, it looks only at packet headers -- MAC addresses, IP addresses
TCP flags etc.  It knows nothing of the protocol specific stuff
that requires inspection of packet contents.

In general, in order to control traffic by inspection of packet
contents you will need to implement some sort of protocol specific
proxy.  I'm afraid I know virtually nothing of the sort of
protocols used to transmit on-line radio, but I'm assuming that they
are of more general use than just on-line radio -- so you need to
inspect the contents in order to distinguish exactly what it is.
(By analogy: you couldn't just block all web traffic because most
it is legitimate, but you can block images containing substantial
areas of skin tones...)

So your question now becomes two:

   * What software is available to proxy this on-line radio
 traffic?
and 

   * Can I distinguish the on-line radio traffic from other uses
 of the same protocol?

Without a bit more information about exactly what you're dealing
with, it is impossible for those questions to be answered.

However, given that you can identify the appropriate proxy software,
you can possibly use pf(4) to implement transparent proxying.  There
are any number of articles on the web about transparent proxying of
HTTP traffic with squid and pf that Google can find for you.  By
adapting that approach you may be able to apply the same concept to
your traffic.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHN1T/8Mjk52CukIwRCHDPAJ4pUM9QwuDjGXF+w4Lo/4ftDGvQrACfVj/Y
//yMhiUZM/m+ycRnVR3Ky7E=
=tcZO
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Quick question about PF and ALTQ

2007-11-11 Thread Peter Boosten
On Sun, November 11, 2007 15:43, Girish Venkatachalam wrote:
> On 14:03:29 Nov 11, Peter Boosten wrote:
>
>> Hi all,
>>
>>
>> One quick question: is it possible to filter specific kinds of traffic
>> with altq, traffic that is not bound to specific IP addresses, like
>> online radio?
>>
>
> Yes.
>
>
> Not altq(It is for QoS).
>

the OpenBSD site mentiones 'Class Based Queueing' on this page:
http://www.openbsd.org/faq/pf/queueing.html

There's some 'example' that userB might get 250K for 'audio', however the
entire page fails to explain how this could be done. Maybe someone on this
list got it running...

Peter



-- 
http://www.boosten.org

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


Re: Quick question about PF and ALTQ

2007-11-11 Thread Peter Boosten
On Sun, November 11, 2007 15:43, Girish Venkatachalam wrote:
> On 14:03:29 Nov 11, Peter Boosten wrote:
>
>> Hi all,
>>
>>
>> One quick question: is it possible to filter specific kinds of traffic
>> with altq, traffic that is not bound to specific IP addresses, like
>> online radio?
>>
>
> Yes.
>
>
> Not altq(It is for QoS).
>
>
> But pf can of course. :)
>
>
> localip =  "www.shoutcast.com" radioport = 554 block quick out on fxp0
> proto tcp from any to $remoteip port $radioport
>
> Here is an example for you lift and plonk into your /etc/pf.conf. :)
>
>
> Best of luck!
>
>
> Obviously the IP and port are fictitious.
>
>
> This will block all the incoming traffic from any internal IP to the
> online radio service.
>
> Hope this helps.
>
>
> regards, Girish
> What is the port for online radio? Many use http. If you want to block
> RTSP, then I guess it should be 554

Thanks for your answer, although that's not quite what I'm looking for:

I know it's possible to 'shape' the traffic with altq, so it's possible in
theory to shape certain kind of traffic to almost nihil. Smart devices
like packetshapers (and even some proxy appliances like Blue Coat) have
separate categories for streaming media, so I was wondering if PF and altq
could do the same.

Your solution works, however you'll have to know what sites are being
visited in order to block them entirely.

Peter


-- 
http://www.boosten.org

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


Re: Quick question about PF and ALTQ

2007-11-11 Thread Girish Venkatachalam
On 14:03:29 Nov 11, Peter Boosten wrote:
> Hi all,
> 
> One quick question: is it possible to filter specific kinds of traffic
> with altq, traffic that is not bound to specific IP addresses, like online
> radio?
> 

Yes.

Not altq(It is for QoS).

But pf can of course. :)

localip =  "www.shoutcast.com"
radioport = 554
block quick out on fxp0 proto tcp from any to $remoteip port $radioport 

Here is an example for you lift and plonk into your /etc/pf.conf. :)

Best of luck!

Obviously the IP and port are fictitious.

This will block all the incoming traffic from any internal IP to the
online radio service.

Hope this helps.

regards,
Girish
What is the port for online radio? Many use http. If you want to block
RTSP, then I guess it should be 554
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Quick question about PF and ALTQ

2007-11-11 Thread Peter Boosten
Hi all,

One quick question: is it possible to filter specific kinds of traffic
with altq, traffic that is not bound to specific IP addresses, like online
radio?

Thanks in advance.

Peter


-- 
http://www.boosten.org

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


Re: quick question regarding /usr/obj

2006-09-18 Thread backyard


--- Migs <[EMAIL PROTECTED]> wrote:

> Erik Trulsson wrote:
> > On Mon, Sep 18, 2006 at 05:06:09PM +0800, Migs
> wrote:
> >   
> >> I just did a rebuild recently, and saw in the
> handbook that i can take
> >> out /usr/obj with no problems... and seeing as
> its taking up >500mb, I
> >> do want to trim it out...
> >>
> >> However, in uname -a it shows
> >>
> >> FreeBSD shadow.meridiantelekoms.com
> 6.2-PRERELEASE FreeBSD
> >> 6.2-PRERELEASE #0: Mon Sep 18 15:35:23 PHT 2006  
>  
> >>
>
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARMITAGE
>  i386
> >>
> >> and no reference of my kernel in /boot, aside
> from /boot/kernel...
> >>
> >> Now, my question is, is the custom kernel I built
> also /boot/kernel? or
> >> does it reside in /usr/obj/usr/src/sys/ARMITAGE?
> >>
> >> 
> >
> > Yes.  The kernel you built was built in
> /usr/obj/usr/src/sys/ARMITAGE/, but
> > is installed into /boot/kernel/.
> >
> > Once you have installed the world+kernel that you
> built you can safely
> > delete everything under /usr/obj/.
> >
> >   
> The handbook did say it was OK to nuke, but didn't
> really explain what
> happened in that directory very clearly. Thanks!
> 
> -- 
> Migs
> Registered Linux user # 381619, but has shifted to
> FreeBSD
> Random Musings (http://lifelin.blogspot.com/)

/usr/obj is left around so you can do partial upgrades
(something you should know exactly what you are doing
when attempted), and/or rebuild the kernel without
having to go through a buildworld again. The updating
instructions for FreeBSD recommend you manually delete
this directory prior to an upgrade to avoid any
possible troubles with only binaries being left around
in the build dir. to free up space I haven't nuked
this dir but will in my next backup. also it is nice
to run

cd /usr/ports && make -DNOCLEANDEPENDS clean

to clean up the ports tree and not have it take a
week. the -DNOCLEANDEPENDS will just make it go
directory by directory without redundantly running a
clean on the dependancies for each port

also your can safely delete /usr/ports/distfiles as
each time you update ports some of these files become
obsolete anyway.

I believe a

cd /usr/src && make clean

is supposed to delete the files in /usr/obj anyway,
but given what the handbook says on updating this
might not be so reliable.


-brian

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


Re: quick question regarding /usr/obj

2006-09-18 Thread Migs
Erik Trulsson wrote:
> On Mon, Sep 18, 2006 at 05:06:09PM +0800, Migs wrote:
>   
>> I just did a rebuild recently, and saw in the handbook that i can take
>> out /usr/obj with no problems... and seeing as its taking up >500mb, I
>> do want to trim it out...
>>
>> However, in uname -a it shows
>>
>> FreeBSD shadow.meridiantelekoms.com 6.2-PRERELEASE FreeBSD
>> 6.2-PRERELEASE #0: Mon Sep 18 15:35:23 PHT 2006
>> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARMITAGE  i386
>>
>> and no reference of my kernel in /boot, aside from /boot/kernel...
>>
>> Now, my question is, is the custom kernel I built also /boot/kernel? or
>> does it reside in /usr/obj/usr/src/sys/ARMITAGE?
>>
>> 
>
> Yes.  The kernel you built was built in /usr/obj/usr/src/sys/ARMITAGE/, but
> is installed into /boot/kernel/.
>
> Once you have installed the world+kernel that you built you can safely
> delete everything under /usr/obj/.
>
>   
The handbook did say it was OK to nuke, but didn't really explain what
happened in that directory very clearly. Thanks!

-- 
Migs
Registered Linux user # 381619, but has shifted to FreeBSD
Random Musings (http://lifelin.blogspot.com/)


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


Re: quick question regarding /usr/obj

2006-09-18 Thread Erik Trulsson
On Mon, Sep 18, 2006 at 05:06:09PM +0800, Migs wrote:
> I just did a rebuild recently, and saw in the handbook that i can take
> out /usr/obj with no problems... and seeing as its taking up >500mb, I
> do want to trim it out...
> 
> However, in uname -a it shows
> 
> FreeBSD shadow.meridiantelekoms.com 6.2-PRERELEASE FreeBSD
> 6.2-PRERELEASE #0: Mon Sep 18 15:35:23 PHT 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARMITAGE  i386
> 
> and no reference of my kernel in /boot, aside from /boot/kernel...
> 
> Now, my question is, is the custom kernel I built also /boot/kernel? or
> does it reside in /usr/obj/usr/src/sys/ARMITAGE?
> 

Yes.  The kernel you built was built in /usr/obj/usr/src/sys/ARMITAGE/, but
is installed into /boot/kernel/.

Once you have installed the world+kernel that you built you can safely
delete everything under /usr/obj/.


-- 

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


quick question regarding /usr/obj

2006-09-18 Thread Migs
I just did a rebuild recently, and saw in the handbook that i can take
out /usr/obj with no problems... and seeing as its taking up >500mb, I
do want to trim it out...

However, in uname -a it shows

FreeBSD shadow.meridiantelekoms.com 6.2-PRERELEASE FreeBSD
6.2-PRERELEASE #0: Mon Sep 18 15:35:23 PHT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARMITAGE  i386

and no reference of my kernel in /boot, aside from /boot/kernel...

Now, my question is, is the custom kernel I built also /boot/kernel? or
does it reside in /usr/obj/usr/src/sys/ARMITAGE?

-- 
Migs
Registered Linux user # 381619, but has shifted to FreeBSD
Random Musings (http://lifelin.blogspot.com/)

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


Re: quick question regarding security advisories

2006-05-04 Thread Frank Steinborn
Mark Jayson Alvarez wrote:
> Hi,
> 
> Those security advisories posted in www.freebsd.org...
> will they be applied once I rebuild my entire system??
> My default /usr/share/example/cvsup/stable-supfile
> contains this line:
> 
> *default release=cvs tag=RELENG_6
> 
> Are those security patches constantly being applied in
> the source tree of such release??

Yes, they are applied to all branches. You can see that in the
"Corrected:"-column in the advisory too.

Frank

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


quick question regarding security advisories

2006-05-04 Thread Mark Jayson Alvarez
Hi,

Those security advisories posted in www.freebsd.org...
will they be applied once I rebuild my entire system??
My default /usr/share/example/cvsup/stable-supfile
contains this line:

*default release=cvs tag=RELENG_6

Are those security patches constantly being applied in
the source tree of such release??

Thanks...

__
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: Quick Question

2006-04-23 Thread Garrett Cooper

On Apr 23, 2006, at 4:08 AM, fbsd wrote:


It would help if you would ask a question.
Nobody has ESP to read your mind.

You have to provide background information with your question
so people on this list can grasp what you are talking about.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joey F.
Sent: Sunday, April 23, 2006 6:52 AM
To: freebsd-questions@FreeBSD.org
Subject: Quick Question


I went to the downloads page but was not sure what I am supposed to
download. as far as "alpha, amd64" etc:/ If you could get back to me
ASAP it would be greatly appreciated.

  Thank You for your time!


What you are talking about with the alpha, amd64 stuff is the  
specific architecture that the installation media was compiled for.  
For more information about computer architectures, refer to some of  
the following links:


"What is computer architecture?": http://en.wikipedia.org/wiki/ 
Computer_architecture

i386 architecture: http://en.wikipedia.org/wiki/X86
alpha architecture (I believe): http://en.wikipedia.org/wiki/DEC_Alpha
amd64 architecture: discussion included in i386 link.
powerpc architecture: http://en.wikipedia.org/wiki/PowerPC

If you have an intel or amd processor, then you have an i386  
compatible machine.


Depending on whether or not you have 64 bit computability though  
(which you probably should know based on either the name of the  
machine, or you should be able to search through the i386 link shown  
above and determine whether or not the machine is x86 or x64,  
searching for that should be trivial), things may differ to the  
extent that you may or may not be able to use the given CD compiled  
on the FreeBSD site. For example, AMD64 has a 64-bit mode (for 64-bit  
precision and all that), but has compatibility built in to be able to  
run 32-bit programs (which works nicely in 5.x and 6.x I have read in  
comparison to the <4.x series of FreeBSD). Some of Intel's 64-bit  
processors doesn't do that though (I'm specifically thinking of the  
older IA-64, or Itanium processors), while others do offer that  
functionality IIRC.


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


Re: Quick Question

2006-04-23 Thread Benjamin Lutz
On Sunday 23 April 2006 12:52, Joey F. wrote:
> I went to the downloads page but was not sure what I am supposed to
> download. as far as "alpha, amd64" etc:/ If you could get back to me ASAP
> it would be greatly appreciated.

If it's a standard Windows-capable computer, "i386" will be what you need.

Cheers
Benjamin


pgpUUBy5plSIa.pgp
Description: PGP signature


RE: Quick Question

2006-04-23 Thread fbsd

It would help if you would ask a question.
Nobody has ESP to read your mind.

You have to provide background information with your question
so people on this list can grasp what you are talking about.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joey F.
Sent: Sunday, April 23, 2006 6:52 AM
To: freebsd-questions@FreeBSD.org
Subject: Quick Question


I went to the downloads page but was not sure what I am supposed to
download. as far as "alpha, amd64" etc:/ If you could get back to me
ASAP it would be greatly appreciated.

  Thank You for your time!
___
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]"


Quick Question

2006-04-23 Thread Joey F.
I went to the downloads page but was not sure what I am supposed to download. 
as far as "alpha, amd64" etc:/ If you could get back to me ASAP it would be 
greatly appreciated. 
   
  Thank You for your time!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Quick question on newfs

2006-02-20 Thread mal content
Thanks a lot for the confirmation, it worked nicely.

# newfs /dev/ad0s1e
# mount /tmp
# chmod 1777 /tmp

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


Re: Quick question on newfs

2006-02-20 Thread Jerry McAllister
> 
> I was setting up encrypted swap with GELI and accidentally
> blew away my /tmp partition with:
> 
> # dd if=/dev/random of=/dev/ad0s1e bs=1m
> 
> Understandably, it will no longer allow me to mount /tmp,
> so how do I use newfs to recreate the partition? I want to
> be absolutely sure before entering any disk modifying
> commands (just like I was absolutely sure last time...).
> 
> I'm guessing it's as simple as:
> 
> # newfs /dev/ad0s1e

Yup.   For /tmp, I would just take the defaults.  They
are quite reasonable there.In fact, unless you have an
unusually large partition or one with an unusually large number
of files (thus a need for extra inodes), generally the defaults
work well with most partitions.

jerry

> 
> cheers,
> a1
> 
> (ps: please CC as I'm not on the list)
> ___
> 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: Quick question on newfs

2006-02-20 Thread Glenn Dawson

At 02:43 PM 2/20/2006, mal content wrote:

I was setting up encrypted swap with GELI and accidentally
blew away my /tmp partition with:

# dd if=/dev/random of=/dev/ad0s1e bs=1m

Understandably, it will no longer allow me to mount /tmp,
so how do I use newfs to recreate the partition? I want to
be absolutely sure before entering any disk modifying
commands (just like I was absolutely sure last time...).

I'm guessing it's as simple as:

# newfs /dev/ad0s1e


That will do it.

-Glenn



cheers,
a1

(ps: please CC as I'm not on the list)
___
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]"


Quick question on newfs

2006-02-20 Thread mal content
I was setting up encrypted swap with GELI and accidentally
blew away my /tmp partition with:

# dd if=/dev/random of=/dev/ad0s1e bs=1m

Understandably, it will no longer allow me to mount /tmp,
so how do I use newfs to recreate the partition? I want to
be absolutely sure before entering any disk modifying
commands (just like I was absolutely sure last time...).

I'm guessing it's as simple as:

# newfs /dev/ad0s1e

cheers,
a1

(ps: please CC as I'm not on the list)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: A quick question about X11 and securelevels

2005-08-28 Thread Roland Smith
On Sun, Aug 28, 2005 at 12:59:36PM +0400, Dmitry Mityugov wrote:
> On 8/28/05, Tom Norris <[EMAIL PROTECTED]> wrote:
> > I understand the things like not allowing the system clock to change and
> > not allowing formatting of filesystems, but I want to know why you can't
> > run x11 when you have a securelevel greater than or equal to one.  there
> > is no _serious_ reason I wish to know, I'm just curious and google keeps
> > feeding me tutorials on making my FreeBSD machine furiously hard to
> > crack.  :)

A securelevel >0 prevents /dev/mem and /dev/io to be opened for
writing. X need to write to these devices.
 
> Not an exact answer to your question, but securelevel does not
> prohibit you from runnung X if it is set after X started (from one of
> .x... files in your home directory instead of rc.conf perhaps?)

The security level is set with sysctl (kern.securelevel). You must be
root to set it.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpyiFTLoV1Gt.pgp
Description: PGP signature


Re: A quick question about X11 and securelevels

2005-08-28 Thread Dmitry Mityugov
On 8/28/05, Tom Norris <[EMAIL PROTECTED]> wrote:
> I understand the things like not allowing the system clock to change and
> not allowing formatting of filesystems, but I want to know why you can't
> run x11 when you have a securelevel greater than or equal to one.  there
> is no _serious_ reason I wish to know, I'm just curious and google keeps
> feeding me tutorials on making my FreeBSD machine furiously hard to
> crack.  :)

Not an exact answer to your question, but securelevel does not
prohibit you from runnung X if it is set after X started (from one of
.x... files in your home directory instead of rc.conf perhaps?)

-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


A quick question about X11 and securelevels

2005-08-27 Thread Tom Norris
I understand the things like not allowing the system clock to change and 
not allowing formatting of filesystems, but I want to know why you can't 
run x11 when you have a securelevel greater than or equal to one.  there 
is no _serious_ reason I wish to know, I'm just curious and google keeps 
feeding me tutorials on making my FreeBSD machine furiously hard to 
crack.  :)


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


Re: a quick question

2004-12-28 Thread Lane
On Monday 27 December 2004 23:52, andrei wrote:
> Thank you for your quick  replay but i am still not sure about a couple of
> things:
> I have tried what Mr. Lane suggested ... it took lets say about 8-9 hours
> (it connects to an ftp and starts downloading packages and installing them
> from all that writing on the screen and i have cable 500kbps down high
> speed cable or something) and yet when i restart i shoose option 1 (default
> boot freebsd) and log in as user or root and startx and i get 2 xterm
> pannels a login and a clock.i think i am missing something ... could you
> guys please help. oh and i saw an error more or less when i esit the so
> called startx it says radeon failed . i would assume i am still using
> xorg or something ... thaks again for your help and hone i really don't
> have to go back to windows cause i don't want to ...   :o)
>
> On Sunday 26 December 2004 18:43, andrei wrote:
> > Hi, my name is Andrei and I have recently purchased FreeBSD from BSDMall
> > and I ran into few problems. I am a windows user but i have some
> > experince in Linux BUT, I got rid of my windows machine and installed
> > FreeBDS. After the install for some reason i log into root and i use the
> > startx command since i get no GUI interface and i get 3 pannels (light
> > green bar and
>
> white
>
> > background and a clock at the top (it looks like a 16 bit OS or
>
> something).
>
> > Can you tell me what could be wrong ... any help will be apreciated. (i
> > am gladly getting rid of windows and i am probably not give up easily
> > that is why i would like some help) ... Thank you for the time taken to
> > read my email and helping me. My system is 3.06Ghz intel, all in wonder
> > ati 9700 pro, 200Gb WD, 1Gb ram, cd-rw 52x24x52, dvd-rw 4x2x32, sound
> > blaster
>
> audigy
>
> > 2.
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> andrei!
>
> welcome!
>
> There is nothing wrong, I think.  It sounds as if you have properly
> installed
> X.  But X isn't the friendliest desktop around, as you've seen.
>
> You should be able to get a full-featured desktop by issuing the following
> commands:
>
> cd /usr/ports/x11/kde3
> make all install clean
> login andrei (or some NON-ROOT user)
> startx
>
> KDE is only one of several "window managers" that are available, but it is
> probably the most widely used.
>
> It is recommended that you use a NON-ROOT user unless you specifically need
> root access.
>
> There is a way to configure your system to log in directly to the GUI, but
> I
>
> use the following in ~/.cshrc:
>
> if ($?DISPLAY) then
> set history = 100
> set savehist = 100
> else
> startx
> endif
>
> This will cause FreeBSD to issue the "startx" command on a per-user basis.
>
> If you get that X desktop and don't know how to get out of it, press
> .  This will shut down X and put you back at the
> command line.
>
> Thanks for purchasing FreeBSD!
>
> lane
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

andre,

Whoops!  I forgot one tiny detail:

login as any user (again, other than root)

then type 

ee .xinitrc

enter the following line:

exec startkde

press  to exit and save, then type 

Note:  Usually this should be the only line in .xinitrc

login 

this will tell X to start the kde desktop

good luck!

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


Re: a quick question

2004-12-27 Thread Nikolas Britton
andrei wrote:
Thank you for your quick  replay but i am still not sure about a couple of 
things:
I have tried what Mr. Lane suggested ... it took lets say about 8-9 hours 
(it connects to an ftp and starts downloading packages and installing them 
from all that writing on the screen and i have cable 500kbps down high speed 
cable or something) and yet when i restart i shoose option 1 (default boot 
freebsd) and log in as user or root and startx and i get 2 xterm pannels a 
login and a clock.i think i am missing something ... could you guys please 
help. oh and i saw an error more or less when i esit the so called startx it 
says radeon failed . i would assume i am still using xorg or something 
... thaks again for your help and hone i really don't have to go back to 
windows cause i don't want to ...   :o)
 

yes, read what I posted here be4:
"Yes you need to install a desktop environment (Gnome, KDE, Xfce, etc) 
and then setup X, It looks like you already have X setup as you can get 
to the default twm window manager.  What you need to do now install a 
desktop Environment and then tell X to use it instead of twm. Everything 
you need to know is documented in chapter 5 section 7 of the FreeBSD 
Handbook: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
"

On Sunday 26 December 2004 18:43, andrei wrote:
 

Hi, my name is Andrei and I have recently purchased FreeBSD from BSDMall
and I ran into few problems. I am a windows user but i have some experince
in Linux BUT, I got rid of my windows machine and installed FreeBDS. After
the install for some reason i log into root and i use the startx command
since i get no GUI interface and i get 3 pannels (light green bar and 
   

white
 

background and a clock at the top (it looks like a 16 bit OS or 
   

something).
 

Can you tell me what could be wrong ... any help will be apreciated. (i am
gladly getting rid of windows and i am probably not give up easily that is
why i would like some help) ... Thank you for the time taken to read my
email and helping me. My system is 3.06Ghz intel, all in wonder ati 9700
pro, 200Gb WD, 1Gb ram, cd-rw 52x24x52, dvd-rw 4x2x32, sound blaster 
   

audigy
 

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

andrei!
welcome!
There is nothing wrong, I think.  It sounds as if you have properly 
installed 
X.  But X isn't the friendliest desktop around, as you've seen.

You should be able to get a full-featured desktop by issuing the following 
commands:

cd /usr/ports/x11/kde3
make all install clean
login andrei (or some NON-ROOT user)
startx
KDE is only one of several "window managers" that are available, but it is 
probably the most widely used.

It is recommended that you use a NON-ROOT user unless you specifically need 
root access.

There is a way to configure your system to log in directly to the GUI, but I 

use the following in ~/.cshrc:
if ($?DISPLAY) then
   set history = 100
   set savehist = 100
else
   startx
endif
This will cause FreeBSD to issue the "startx" command on a per-user basis.
If you get that X desktop and don't know how to get out of it, press 
.  This will shut down X and put you back at the 
command line.

Thanks for purchasing FreeBSD!
lane
___
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: a quick question

2004-12-27 Thread Tom Vilot
Andrei, what does the .xinitrc file look like (in either the root 
directory or in the home directory of the user you log in as)?

Thank you for your quick  replay but i am still not sure about a couple of 
things:


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


re:a quick question

2004-12-27 Thread andrei
Thank you for your quick  replay but i am still not sure about a couple of 
things:
I have tried what Mr. Lane suggested ... it took lets say about 8-9 hours 
(it connects to an ftp and starts downloading packages and installing them 
from all that writing on the screen and i have cable 500kbps down high speed 
cable or something) and yet when i restart i shoose option 1 (default boot 
freebsd) and log in as user or root and startx and i get 2 xterm pannels a 
login and a clock.i think i am missing something ... could you guys please 
help. oh and i saw an error more or less when i esit the so called startx it 
says radeon failed . i would assume i am still using xorg or something 
... thaks again for your help and hone i really don't have to go back to 
windows cause i don't want to ...   :o)


On Sunday 26 December 2004 18:43, andrei wrote:
> Hi, my name is Andrei and I have recently purchased FreeBSD from BSDMall
> and I ran into few problems. I am a windows user but i have some experince
> in Linux BUT, I got rid of my windows machine and installed FreeBDS. After
> the install for some reason i log into root and i use the startx command
> since i get no GUI interface and i get 3 pannels (light green bar and 
white
> background and a clock at the top (it looks like a 16 bit OS or 
something).
> Can you tell me what could be wrong ... any help will be apreciated. (i am
> gladly getting rid of windows and i am probably not give up easily that is
> why i would like some help) ... Thank you for the time taken to read my
> email and helping me. My system is 3.06Ghz intel, all in wonder ati 9700
> pro, 200Gb WD, 1Gb ram, cd-rw 52x24x52, dvd-rw 4x2x32, sound blaster 
audigy
> 2.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
andrei!

welcome!

There is nothing wrong, I think.  It sounds as if you have properly 
installed 
X.  But X isn't the friendliest desktop around, as you've seen.

You should be able to get a full-featured desktop by issuing the following 
commands:

cd /usr/ports/x11/kde3
make all install clean
login andrei (or some NON-ROOT user)
startx

KDE is only one of several "window managers" that are available, but it is 
probably the most widely used.

It is recommended that you use a NON-ROOT user unless you specifically need 
root access.

There is a way to configure your system to log in directly to the GUI, but I 

use the following in ~/.cshrc:

if ($?DISPLAY) then
set history = 100
set savehist = 100
else
startx
endif

This will cause FreeBSD to issue the "startx" command on a per-user basis.

If you get that X desktop and don't know how to get out of it, press 
.  This will shut down X and put you back at the 
command line.

Thanks for purchasing FreeBSD!

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


Re: a quick question ...

2004-12-26 Thread Nikolas Britton
andrei wrote:
Hi, my name is Andrei and I have recently purchased FreeBSD from BSDMall and 
I ran into few problems. I am a windows user but i have some experince in 
Linux BUT, I got rid of my windows machine and installed FreeBDS. After the 
install for some reason i log into root and i use the startx command since i 
get no GUI interface and i get 3 pannels (light green bar and white 
background and a clock at the top (it looks like a 16 bit OS or something). 
Can you tell me what could be wrong ... any help will be apreciated. (i am 
gladly getting rid of windows and i am probably not give up easily that is 
why i would like some help) ... Thank you for the time taken to read my 
email and helping me. My system is 3.06Ghz intel, all in wonder ati 9700 
pro, 200Gb WD, 1Gb ram, cd-rw 52x24x52, dvd-rw 4x2x32, sound blaster audigy 
2. 
 

Yea you need to install a desktop environment (Gnome, KDE, Xfce, etc) 
and then setup X, It looks like you already have X setup as you can get 
to the default twm window manager.  What you need to do now install a 
desktop Environment and then tell X to use it instead of twm. Everything 
you need to know is documented in chapter 5 subsection 7 of the FreeBSD 
Handbook: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: a quick question ...

2004-12-26 Thread Tom Vilot
Lane wrote:
welcome!
There is nothing wrong, I think.  It sounds as if you have properly installed 
X.  But X isn't the friendliest desktop around, as you've seen.

You should be able to get a full-featured desktop by issuing the following 
commands:

cd /usr/ports/x11/kde3
make all install clean
login andrei (or some NON-ROOT user)
startx
The only problem with that (correct me if I am wrong) is that kde will 
take a *very* long time to build and install from the port 

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


Re: a quick question ...

2004-12-26 Thread Lane
On Sunday 26 December 2004 18:43, andrei wrote:
> Hi, my name is Andrei and I have recently purchased FreeBSD from BSDMall
> and I ran into few problems. I am a windows user but i have some experince
> in Linux BUT, I got rid of my windows machine and installed FreeBDS. After
> the install for some reason i log into root and i use the startx command
> since i get no GUI interface and i get 3 pannels (light green bar and white
> background and a clock at the top (it looks like a 16 bit OS or something).
> Can you tell me what could be wrong ... any help will be apreciated. (i am
> gladly getting rid of windows and i am probably not give up easily that is
> why i would like some help) ... Thank you for the time taken to read my
> email and helping me. My system is 3.06Ghz intel, all in wonder ati 9700
> pro, 200Gb WD, 1Gb ram, cd-rw 52x24x52, dvd-rw 4x2x32, sound blaster audigy
> 2.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
andrei!

welcome!

There is nothing wrong, I think.  It sounds as if you have properly installed 
X.  But X isn't the friendliest desktop around, as you've seen.

You should be able to get a full-featured desktop by issuing the following 
commands:

cd /usr/ports/x11/kde3
make all install clean
login andrei (or some NON-ROOT user)
startx

KDE is only one of several "window managers" that are available, but it is 
probably the most widely used.

It is recommended that you use a NON-ROOT user unless you specifically need 
root access.

There is a way to configure your system to log in directly to the GUI, but I 
use the following in ~/.cshrc:

if ($?DISPLAY) then
set history = 100
set savehist = 100
else
startx
endif

This will cause FreeBSD to issue the "startx" command on a per-user basis.

If you get that X desktop and don't know how to get out of it, press 
.  This will shut down X and put you back at the 
command line.

Thanks for purchasing FreeBSD!

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


Re: a quick question ...

2004-12-26 Thread Tom Vilot
Andrei, it sounds to me like you have fvwm installed as your window 
manager / desktop.

Install KDE or GNOME or WindowMaker or something useful, and you will 
have a bit more luck.

As root (before you bother with startx), try this:
pkg_add -r windowmaker
Then, edit your .xinitrc file (in your /root directory) to contain the 
following line:

wmaker
Then, try startx.
I suggest WindowMaker because it is fairly lightweight, will not take a 
long time to install, and will give you the base functionality of a GUI 
without requiring you to do a lot of work.

Also, it is my window manager of choice :c)
Hi, my name is Andrei and I have recently purchased FreeBSD from BSDMall and 
I ran into few problems. I am a windows user but i have some experince in 
Linux BUT, I got rid of my windows machine and installed FreeBDS. After the 
install for some reason i log into root and i use the startx command since i 
get no GUI interface and i get 3 pannels (light green bar and white 
background and a clock at the top (it looks like a 16 bit OS or something). 
Can you tell me what could be wrong ... any help will be apreciated. (i am 
gladly getting rid of windows and i am probably not give up easily that is 
why i would like some help) ... Thank you for the time taken to read my 
email and helping me. My system is 3.06Ghz intel, all in wonder ati 9700 
pro, 200Gb WD, 1Gb ram, cd-rw 52x24x52, dvd-rw 4x2x32, sound blaster audigy 
2. 
___
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: a quick question ...

2004-12-26 Thread Bill Moran
"andrei" <[EMAIL PROTECTED]> wrote:

> Hi, my name is Andrei and I have recently purchased FreeBSD from BSDMall and 
> I ran into few problems. I am a windows user but i have some experince in 
> Linux BUT, I got rid of my windows machine and installed FreeBDS. After the 
> install for some reason i log into root and i use the startx command since i 
> get no GUI interface and i get 3 pannels (light green bar and white 
> background and a clock at the top (it looks like a 16 bit OS or something). 
> Can you tell me what could be wrong ... any help will be apreciated. (i am 
> gladly getting rid of windows and i am probably not give up easily that is 
> why i would like some help) ... Thank you for the time taken to read my 
> email and helping me. My system is 3.06Ghz intel, all in wonder ati 9700 
> pro, 200Gb WD, 1Gb ram, cd-rw 52x24x52, dvd-rw 4x2x32, sound blaster audigy 
> 2. 

Nothing is wrong.  You simply haven't configured your GUI yet.  I suggest
you read the following section of the handbook to get up to speed on
your choices and how to set them up.  If you hit any problems, don't
hesitate to ask on the list again.

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

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: a quick question ...

2004-12-26 Thread Kris Kennaway
On Sun, Dec 26, 2004 at 07:43:29PM -0500, andrei wrote:
> Hi, my name is Andrei and I have recently purchased FreeBSD from BSDMall and 
> I ran into few problems. I am a windows user but i have some experince in 
> Linux BUT, I got rid of my windows machine and installed FreeBDS. After the 
> install for some reason i log into root and i use the startx command since i 
> get no GUI interface and i get 3 pannels (light green bar and white 
> background and a clock at the top (it looks like a 16 bit OS or something). 
> Can you tell me what could be wrong ... any help will be apreciated. (i am 
> gladly getting rid of windows and i am probably not give up easily that is 
> why i would like some help)

Nothing is wrong, that's the default X configuration.  There's plenty
of documentation about how to install your choice of window manager;
start with the FreeBSD Handbook on the website.

Kris


pgpq30mhhSVRI.pgp
Description: PGP signature


a quick question ...

2004-12-26 Thread andrei
Hi, my name is Andrei and I have recently purchased FreeBSD from BSDMall and 
I ran into few problems. I am a windows user but i have some experince in 
Linux BUT, I got rid of my windows machine and installed FreeBDS. After the 
install for some reason i log into root and i use the startx command since i 
get no GUI interface and i get 3 pannels (light green bar and white 
background and a clock at the top (it looks like a 16 bit OS or something). 
Can you tell me what could be wrong ... any help will be apreciated. (i am 
gladly getting rid of windows and i am probably not give up easily that is 
why i would like some help) ... Thank you for the time taken to read my 
email and helping me. My system is 3.06Ghz intel, all in wonder ati 9700 
pro, 200Gb WD, 1Gb ram, cd-rw 52x24x52, dvd-rw 4x2x32, sound blaster audigy 
2. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


A quick question on rtadvd

2004-10-14 Thread Yong Chu Eu (Ñî×ÓÓÓ)
can we make rtadvd advertise global multicast address to user? how to do it?

=
Ô¸ÄúÓÀÔ¶ÐÒ¸££¬¿ìÀֺͰ²Ïê Happy & Healthy Always ! ^_^ !
¸öÈËÍøÒ³ Homepage:http://planet.time.net.my/sunwaycity/ceyong
¸öÈË·ðѧÍøÒ³ Buddhist Page: http://planet.time.net.my/SunwayCity/ceyong/artikel.htm
ICQ:16994867/ Yahoo Messenger ID:ceyong /MSN Messenger:ceyong at hotmail.com



__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Quick question about apache on freebsd4.9

2004-05-06 Thread Chad Leigh -- Shire.Net LLC
On May 6, 2004, at 3:57 PM, Jeronimo Romero wrote:

Installed apache on freebsd 4.9. Installed several virtual hosts with
ssl support.
When I browse the one of them with internet explorer I have to click
"yes" over 30 times in
The browser security certificate. Anyone have any ideas why this would
be happening???
SSL is IP based.  You can only have one SSL certificate per IP address 
so if you have multiple virtual hosts on one IP, and they are in 
different domain names, your cert will not match the site name for most 
of your hosts and hence you get the dialogs from IE

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


Quick question about apache on freebsd4.9

2004-05-06 Thread Jeronimo Romero


Installed apache on freebsd 4.9. Installed several virtual hosts with
ssl support.
When I browse the one of them with internet explorer I have to click
"yes" over 30 times in
The browser security certificate. Anyone have any ideas why this would
be happening???



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


Re: quick question about turning the annoying beep off in X

2003-11-19 Thread Jean-Baptiste Quenot
* twig les:

> Magic!   I never  bothered to  check if  putting the  command *before*
> "wmaker" in ~/.xinitrc would make a difference.  Thnx.

The WindowMaker process typically  *replaces* the shell interpreting the
.xinitrc script, you  can notice that by the "exec"  keyword in front of
it.  Thus everything after the exec statement will be ignored.

By the  way, there  is another  solution to disable  the beep,  which is
independant of X11, works also in the console:

$ echo set bell-style visible >> ~/.inputrc

When  bash starts,  the readline  library reads  ~/.inputrc.  For  csh I
don't know...

And there is a global setting for disabling the system bell in the Gnome
Sound Desktop Preferences if you are  using Gnome.  In Gnome Terminal as
well in the profile edition dialog.

Best regards,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


pgp0.pgp
Description: PGP signature


Re: quick question about turning the annoying beep off in X

2003-11-13 Thread Viktor Lazlo


On Thu, 13 Nov 2003, twig les wrote:

> Hey all, in my /etc/csh.cshrc I have
>
> xset b off
>
> which does what I want, which is to tell X to shut up without me
> having to type the command in every X session.  But it seems
> clumsy as it puts up an error "xset:  unable to open display """
> when I ssh in.  I fully understand that this *should* be an
> error because csh.cshrc is a shell init file, I just tried this
> in .xinitrc and it didn't work.  Putting it in
> /usr/X11R6/bin/startx had predictably bad results.
>
> So anyone know the correct file for this command?

Why not put it in .xinitrc?

Cheers,

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


Re: quick question about turning the annoying beep off in X

2003-11-13 Thread twig les
--- Dan Nelson <[EMAIL PROTECTED]> wrote:
> In the last episode (Nov 13), twig les said:
> > Hey all, in my /etc/csh.cshrc I have
> > 
> > xset b off
> > 
> > which does what I want, which is to tell X to shut up
> without me
> > having to type the command in every X session.  But it seems
> clumsy
> > as it puts up an error "xset: unable to open display """
> when I ssh
> > in.  I fully understand that this *should* be an error
> because
> > csh.cshrc is a shell init file, I just tried this in
> .xinitrc and it
> > didn't work.  Putting it in
> > /usr/X11R6/bin/startx had predictably bad results.
> > 
> > So anyone know the correct file for this command?
> 
> I'm pretty sure .xinitrc is the one you want.  Make sure you
> run the
> command before any session managers etc.  I just tested it and
> it works
> for me.
> 
> -- 
>   Dan Nelson
>   [EMAIL PROTECTED]


Magic!  I never bothered to check if putting the command
*before* "wmaker" in ~/.xinitrc would make a difference.  Thnx.




=
---
Get a taste of Religion ... eat a priest!   
---

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: quick question about turning the annoying beep off in X

2003-11-13 Thread Kevin D. Kinsey, DaleCo, S.P.
twig les wrote:

Hey all, in my /etc/csh.cshrc I have

xset b off

which does what I want, which is to tell X to shut up without me
having to type the command in every X session.  But it seems
clumsy as it puts up an error "xset:  unable to open display """
when I ssh in.  I fully understand that this *should* be an
error because csh.cshrc is a shell init file, I just tried this
in .xinitrc and it didn't work.  Putting it in
/usr/X11R6/bin/startx had predictably bad results.
So anyone know the correct file for this command?

 

~/.xinitrc might work???

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


Re: quick question about turning the annoying beep off in X

2003-11-13 Thread Dan Nelson
In the last episode (Nov 13), twig les said:
> Hey all, in my /etc/csh.cshrc I have
> 
> xset b off
> 
> which does what I want, which is to tell X to shut up without me
> having to type the command in every X session.  But it seems clumsy
> as it puts up an error "xset: unable to open display """ when I ssh
> in.  I fully understand that this *should* be an error because
> csh.cshrc is a shell init file, I just tried this in .xinitrc and it
> didn't work.  Putting it in
> /usr/X11R6/bin/startx had predictably bad results.
> 
> So anyone know the correct file for this command?

I'm pretty sure .xinitrc is the one you want.  Make sure you run the
command before any session managers etc.  I just tested it and it works
for me.

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


Re: quick question about turning the annoying beep off in X

2003-11-13 Thread Chris Pressey
On Thu, 13 Nov 2003 13:44:43 -0800 (PST)
twig les <[EMAIL PROTECTED]> wrote:

> Hey all, in my /etc/csh.cshrc I have
> 
> xset b off
> 
> which does what I want, which is to tell X to shut up without me
> having to type the command in every X session.  But it seems
> clumsy as it puts up an error "xset:  unable to open display """
> when I ssh in.  I fully understand that this *should* be an
> error because csh.cshrc is a shell init file, I just tried this
> in .xinitrc and it didn't work.  Putting it in
> /usr/X11R6/bin/startx had predictably bad results.
> 
> So anyone know the correct file for this command?

You could try ~/.xsession, although I think that might only work when
you run xdm.

If all else fails, you could just call it like

  xset b off >& /dev/null

although that, too, is a bit of an ugly hack (if it ever generates
output that you *do* care about, you won't see it.)

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


quick question about turning the annoying beep off in X

2003-11-13 Thread twig les
Hey all, in my /etc/csh.cshrc I have

xset b off

which does what I want, which is to tell X to shut up without me
having to type the command in every X session.  But it seems
clumsy as it puts up an error "xset:  unable to open display """
when I ssh in.  I fully understand that this *should* be an
error because csh.cshrc is a shell init file, I just tried this
in .xinitrc and it didn't work.  Putting it in
/usr/X11R6/bin/startx had predictably bad results.

So anyone know the correct file for this command?

=
---
Get a taste of Religion ... eat a priest!   
---

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hi Quick question

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

On Donnerstag, 14. August 2003 21:00 Viktor Lazlo wrote:

> > > Is there a command to browse files by pages?  When ever I ls in a
> If you are new to the shell and looking for something to ease the
> transition between Windows and the console try installing mc

I agree, midnight commander is very easy to use, pretty powerful, and it 
allows you to look inside tarballs and navigate them just like directories.
It also includes a file viewer which automatically filters some file types 
(html, dvi, ...).

kind regards,

Benjamin

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

iD8DBQE/O/8ooYumWdMvhMQRAqVlAJ9L+v0uYsTklF+IrKhUkZ38f0polwCfaKFH
1pCvHz7sDAMlrnmL4atCSeI=
=ZLqf
-END PGP SIGNATURE-

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


RE: Hi Quick question

2003-08-14 Thread Nic von Waltsleben
Try ls | less

Nic

>Eric Murphy

>Is there a command to browse files by pages?  When ever I ls in a big dir, I can't 
>shift page >up for some reason.  This is very annoying =(
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hi Quick question

2003-08-14 Thread Jez Hancock
On Thu, Aug 14, 2003 at 09:30:20AM -0500, Kevin Kinsey, DaleCo, S.P. wrote:
> >Is there a command to browse files by pages?  When ever I ls in a
> big dir, I can't shift page up for some reason.  This is very
> >annoying =(
> 
> Heh, the replies here are good, but there's a humor possibility ...
> 
> Think about the old quote "Less is More" --- ls | morels | less
> 
> To Eric, one more thing:  on most terminals you can press the
> "Scroll Lock" key and then use the arrow keys to browse the
> terminal output up to the limit of its memory buffer ...
Remember to check out the manpages for 'more' and 'less' as well - 
the 'b' and 'f' keys take you backwards and forwards along with a raft
of other keyboard strokes.

-- 
Jez

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


Re: Hi Quick question

2003-08-14 Thread Mike Maltese
>Is there a command to browse files by pages?  When ever I ls in a big dir,
I can't shift page >up for some reason.  This is very annoying =(

I like

ls -l | more

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


Hi Quick question

2003-08-14 Thread Eric Murphy
Is there a command to browse files by pages?  When ever I ls in a big dir, I can't 
shift page up for some reason.  This is very annoying =(
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Quick Question

2003-08-14 Thread paul beard
Jeremy D. Pavleck wrote:
Greetings All,
 I initially tried to install FreeBSD something like 4 years ago and
failed miserably, and went to linux. (Hardware wasn't completely
compatible with FreeBSD).
 Recently my Debian server motherboard died on me, prompting me to prepare
a list of new parts for a new box. Because I still use FreeBSD everyday
(diffrent server) and the whole SCO thing, I want to try again to setup a
freebsd box. 
 To make sure I don't have a compatibility problem, I'd appreciate it if
someone would look at this "wish list" 

http://secure.newegg.com/app/WishR.asp?ID=385191

And tell me if, in your opinion, all of these parts would be compatible
with FBSD 5.1. (Of course, I'm mainly concerned about the MB - it's an all
in one solution, and the NIC)
Why go with 5.1? Try 4.8 for now and get used to FreeBSD. 5.2 will 
 be ready when you are.

--
Paul Beard

whois -h whois.networksolutions.com ha=pb202
Anybody who doesn't cut his speed at the sight of a police car is
probably parked.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FW: Quick Question

2003-08-14 Thread Stephen


.  Hardware.  My opinions concerning the quality of the hardware...If I
were you I would drop the Enermax power supply for a Sparkle.  I dunno about
the Samsung hard drive, personally I would go Seagate or Maxtor.  Trade the
Sapphire motherboard up for a Shuttle or Asus.  Sorry, just had to toss that
in there.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeremy D.
Pavleck
Sent: Sunday, August 10, 2003 1:37 PM
To: [EMAIL PROTECTED]
Subject: Quick Question


Greetings All,
 I initially tried to install FreeBSD something like 4 years ago and
failed miserably, and went to linux. (Hardware wasn't completely
compatible with FreeBSD).
 Recently my Debian server motherboard died on me, prompting me to prepare
a list of new parts for a new box. Because I still use FreeBSD everyday
(diffrent server) and the whole SCO thing, I want to try again to setup a
freebsd box.
 To make sure I don't have a compatibility problem, I'd appreciate it if
someone would look at this "wish list"

http://secure.newegg.com/app/WishR.asp?ID=385191

And tell me if, in your opinion, all of these parts would be compatible
with FBSD 5.1. (Of course, I'm mainly concerned about the MB - it's an all
in one solution, and the NIC)

 Thanks in advance,
Jeremy

**
Jeremy D. Pavleck
[EMAIL PROTECTED]



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

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


Re: Hi Quick question

2003-08-14 Thread Viktor Lazlo


On Thu, 14 Aug 2003, Joshua Oreman wrote:

> On Fri, Aug 08, 2003 at 10:52:33PM -0500 or thereabouts, Eric Murphy wrote:
>
> > Is there a command to browse files by pages?  When ever I ls in a
> > big dir, I can't shift page up for some reason.  This is very
> > annoying =(
>
> Option 1) ls | less #-or-#ls | more
> Option 2) press ScrollLock and then up/down arrow or pgup/pgdown

If you are new to the shell and looking for something to ease the
transition between Windows and the console try installing mc
(/usr/ports/misc/mc):

/usr/ports/misc/mc/pkg-descr
GNU Midnight Commander is a user-friendly yet powerful file manager
and visual shell, useful to novice and guru alike. It provides a
clear, user-friendly, and somewhat protected interface to a Unix
system while making many frequent file operations more efficient and
preserving the full power of the command prompt. You will wonder how
you could ever live without it.
WWW: http://www.ibiblio.org/mc/

Cheers,

Viktor

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


Re: Quick Question

2003-08-14 Thread Alden Louis-Pierre
   First and foremost great job in using newegg for hardware.  They 
provide excellent service.  I shop there all the time for my hardware 
needs :-).  Next for a motherboard, I would recommend the Shuttle 
AK38N motherboard.  Shuttle makes some very good motherboard.  The 
performance is rock solid.  You can check out the reviews on the 
particular motherboard I recommended at newegg. Not to mention with this 
motherboard you do not need to worry about purchasing a NIC card, 
because it's built in and FreeBSD will recognize the onboard NIC.  I 
would recommend you get a better heatsink fan.   Artic Silver 3 and 
Thermaltake Volcano 7 would be a good start.

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


Re: Hi Quick question

2003-08-14 Thread Vulpes Velox
Just pipe ls into more

On Fri, 8 Aug 2003 22:52:33 -0500
"Eric Murphy" <[EMAIL PROTECTED]> wrote:

> Is there a command to browse files by pages?  When ever I ls in a big dir, I
> can't shift page up for some reason.  This is very annoying
> =(___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"



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


Re: Hi Quick question

2003-08-14 Thread Joshua Oreman
On Fri, Aug 08, 2003 at 10:52:33PM -0500 or thereabouts, Eric Murphy wrote:

> Is there a command to browse files by pages?  When ever I ls in a
> big dir, I can't shift page up for some reason.  This is very
> annoying =(

Option 1) ls | less #-or-#ls | more
Option 2) press ScrollLock and then up/down arrow or pgup/pgdown

-- Josh

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


Re: Hi Quick question

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

On Samstag, 9. August 2003 05:52 Eric Murphy wrote:
> Is there a command to browse files by pages?  When ever I ls in a big dir,
> I can't shift page up for some reason.  This is very annoying =(

ls (-lmo...) | less,
respectively
ls (options) | $PAGER

Kind regards,

Benjamin

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

iD8DBQE/O18HoYumWdMvhMQRApkTAJ98/yogN6tZmc/bEeOHlRKyv3UwnwCbBr0a
Y9vghxYXCQa1XAeB4A1UHR8=
=vaZ2
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hi Quick question

2003-08-14 Thread Kevin Kinsey, DaleCo, S.P.
>From: "Eric Murphy" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, August 08, 2003 10:52 PM
>Subject: Hi Quick question
>

>Is there a command to browse files by pages?  When ever I ls in a
big dir, I can't shift page up for some reason.  This is very
>annoying =(

Heh, the replies here are good, but there's a humor possibility ...

Think about the old quote "Less is More" --- ls | morels | less

To Eric, one more thing:  on most terminals you can press the
"Scroll Lock" key and then use the arrow keys to browse the
terminal output up to the limit of its memory buffer ...

Kevin Kinsey


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


Re: Hi Quick question

2003-08-14 Thread Thomas Spreng
hi,

On Fri, Aug 08, 2003 at 10:52:33PM -0500, Eric Murphy wrote:
> Is there a command to browse files by pages?  When ever I ls in a big dir, I can't 
> shift page up for some reason.  This is very annoying =(

# ls | more

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


Quick Question

2003-08-10 Thread Jeremy D. Pavleck
Greetings All,
 I initially tried to install FreeBSD something like 4 years ago and
failed miserably, and went to linux. (Hardware wasn't completely
compatible with FreeBSD).
 Recently my Debian server motherboard died on me, prompting me to prepare
a list of new parts for a new box. Because I still use FreeBSD everyday
(diffrent server) and the whole SCO thing, I want to try again to setup a
freebsd box. 
 To make sure I don't have a compatibility problem, I'd appreciate it if
someone would look at this "wish list" 

http://secure.newegg.com/app/WishR.asp?ID=385191

And tell me if, in your opinion, all of these parts would be compatible
with FBSD 5.1. (Of course, I'm mainly concerned about the MB - it's an all
in one solution, and the NIC)

 Thanks in advance,
Jeremy

**
Jeremy D. Pavleck
[EMAIL PROTECTED]



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


Re: Quick question

2003-06-17 Thread Bill Moran
David Michaels wrote:
I notice that there is no disc1 ISO image for sparc64 FreeBSD 5.1, but 
there is a disc2 and a mini-disc.  5.0 had a disc1.  This is true of 
both the main ftp.freebsd.org site, and all the USA mirrors I checked.

Is the image missing, or intentionally not there?  What should I use for 
sparc64 5.1?
I don't know why that image is missing, but for the time being you can
use the -mini disk to get up and running.  -mini contains a full FreeBSD
install set, but no ports on the CD.  So you'll be able to get FreeBSD
installed, but you'll have to install ports off the 'net.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Quick question

2003-06-17 Thread David Michaels
I notice that there is no disc1 ISO image for sparc64 FreeBSD 5.1, but there is 
a disc2 and a mini-disc.  5.0 had a disc1.  This is true of both the main 
ftp.freebsd.org site, and all the USA mirrors I checked.

Is the image missing, or intentionally not there?  What should I use for sparc64 
5.1?

--
  Dave ``Dragon'' Michaels   |   "I wonder what news is doing..."
 Raytheon  IS Unix Engineer  | [EMAIL PROTECTED] <29> ps -fu news
 [EMAIL PROTECTED] | news 18624 12367  2  0:00 makehistory
303-344-6840 |  "News is making history."
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: quick question please

2003-06-16 Thread Jonathan Arnold
i know this might be common question but id really like to know, why 
your logo is a small devil? please reply thanks.
See:

http://www.mckusick.com/beastie/index.html

For the "History of the BSD Daemon"

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments   http://www.buddydog.org
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so.  Mark Twain
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: quick question please

2003-06-10 Thread Joshua Oreman
On Tue, Jun 10, 2003 at 12:34:03PM -0500 or thereabouts, Matthew D. Fuller seemed to 
write:
> On Tue, Jun 10, 2003 at 01:31:08PM -0400 I heard the voice of
> Steve, and lo! it spake thus:
> > i know this might be common question but id really like to know, why 
> > your logo is a small devil? please reply thanks.
> 
> Because the normal size of button-banners for webpages is too small to
> make it a large devil.

 Please don't say stuff like this, even in
jest. Some people might think the logo is really a devil.

 IT IS NOT. It's a "daemon" -- NOT a "demon".
There's a difference that has already been discussed many times on this
list.

-- Josh

> 
> 
> -- 
> Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
> Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
> 
> "The only reason I'm burning my candle at both ends, is because I
>   haven't figured out how to light the middle yet"
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: quick question please

2003-06-10 Thread Matthew D. Fuller
On Tue, Jun 10, 2003 at 01:31:08PM -0400 I heard the voice of
Steve, and lo! it spake thus:
> i know this might be common question but id really like to know, why 
> your logo is a small devil? please reply thanks.

Because the normal size of button-banners for webpages is too small to
make it a large devil.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

"The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


quick question please

2003-06-10 Thread Steve
i know this might be common question but id really like to know, why 
your logo is a small devil? please reply thanks.

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


Re: firewall setup -- quick question

2003-01-02 Thread Bill Moran
From: "Darren" <[EMAIL PROTECTED]>

I've been doing quite a bit of reading the past few days on this firewall
I'm building for my father.  And, it seems like everything that I read is
utilizing 2 nics (one for the internet side and one for the internal side)
with a hub on the inside nic.

I had something different in mind.  In my case, my outside connection will
be coming through an Alcatel USB modem.  Then, I planned to use 2 nics for
the inside (one for each of the two boxes that I'll have on my inside
network).  The two boxes on the inside need to be NAT'd by the firewall, as
well.

Can it be done this way?


Yes, the reason you're seeing it explained with 2 nics is that it's the
most common setup.
It gets slightly more complicated, but it's not too bad.  You'll have to
make sure the two internal nics have ip addy/netmasks such that the
firewall doesn't get confused about which one to communicate with at
any one time.  I would use 2 totally seperate private ranges if I were
you (to make it very difficult to mess up).  Something like 172.16.0.0/24
on the one and 10.10.10.0/24 on the other would be unambigious.
Then you need to duplicate firewall rules for those two nics.  Basically,
every firewall rule you would have put on the internal nic to the hub
(in the examples you've been seeing) will have to be 2 rules, one for
each of the internal nics.
Other than that, it's not really terribly complicated.  If you use IPs
that are obviously seperate (such as I suggested) the routing will
pretty much take care of itself, and all you have to worry about is
actual firewall rules.

Good luck
-Bill

_
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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


firewall setup -- quick question

2003-01-02 Thread Darren
I've been doing quite a bit of reading the past few days on this firewall
I'm building for my father.  And, it seems like everything that I read is
utilizing 2 nics (one for the internet side and one for the internal side)
with a hub on the inside nic.

I had something different in mind.  In my case, my outside connection will
be coming through an Alcatel USB modem.  Then, I planned to use 2 nics for
the inside (one for each of the two boxes that I'll have on my inside
network).  The two boxes on the inside need to be NAT'd by the firewall, as
well.

Can it be done this way?

Darren


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



Re: Quick question

2002-11-04 Thread Robin Schilham
Leonardo Medina wrote:

Hello,

I'm getting a Bind to port 22 failed error, I have set up our box very nice 
and neat with correct public ip addreess, etc... and I still keep getting 
this error when I do a sshd command, I cannot ping (only my own box, but 
that really just gives me kernel stuff...).

Perhaps you are confusing the ssh daemon (sshd) with the ssh client
(ssh). When you attempt to start sshd when it is already up and
running and listening at port 22, you will see something like this
in your syslog:

sshd[68413]: error: Bind to port 22 on 0.0.0.0 failed: Address already 
in use.
sshd[68413]: fatal: Cannot bind any address.

I look at the connection and its working just fine I even plugged it onto 
another device and it works; I installed win2k on the box and it works just 
fine, but for some reason I cannot get FreeBSD running...

Any help would be greatly appreciated.

Thanks,

Leo



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

Regards,

Robin Schilham


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



Re: Quick question

2002-11-04 Thread DaleCo Help Desk
From: "Leonardo Medina" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 5:59 PM
Subject: Quick question


> Hello,
>
> I'm getting a Bind to port 22 failed error, I have set up our box
very nice
> and neat with correct public ip addreess, etc... and I still keep
getting
> this error when I do a sshd command, I cannot ping (only my own
box, but
> that really just gives me kernel stuff...).
>
> I look at the connection and its working just fine I even plugged
it onto
> another device and it works; I installed win2k on the box and it
works just
> fine, but for some reason I cannot get FreeBSD running...
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Leo

Obviously something is wrong.  Where does
the error appear --- on its own in some
error log, or in the console, or as a
response to a CLI command?  What do
you do/type prior to receiving the error
message?

Also, what do you mean "sshd" command---
the daemon is enabled at startup, usually.

What about the ping?  Can you not
'ping' any other host from the FBSD
box?  That's not entirely related to
a "bind to port 22" error.

A few more details might be helpful

Cheers,

Kevin Kinsey


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



Quick question

2002-11-04 Thread Leonardo Medina
Hello,

I'm getting a Bind to port 22 failed error, I have set up our box very nice 
and neat with correct public ip addreess, etc... and I still keep getting 
this error when I do a sshd command, I cannot ping (only my own box, but 
that really just gives me kernel stuff...).

I look at the connection and its working just fine I even plugged it onto 
another device and it works; I installed win2k on the box and it works just 
fine, but for some reason I cannot get FreeBSD running...

Any help would be greatly appreciated.

Thanks,

Leo



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