Re: Printing from Firefox broken after update.

2011-09-11 Thread Leslie Jensen




I am not sure exactly what your problem is; however, after the Firefox
update, printing now takes forever. I use to be able to click on print
and have a document print virtually immediately. Now, I click print and
have time to eat breakfast, take a shower and get dressed before the
frigging thing prints out. This is definitely NOT a printer problem
since the printer is connected via a network to a Windows machine.
Clicking on the same document in IE results in the document being
printed immediately. Somehow, somewhere, something got seriously
broken in Firefox.



I do also get a print if I wait, but it's a one liner saying:

Unrecoverable error: rangecheck in setpagedevice
   Operand stack:
  true  --nostri

/Leslie
___
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: Printing from Firefox broken after update.

2011-09-11 Thread Polytropon
On Sun, 11 Sep 2011 08:36:05 +0200, Leslie Jensen wrote:
 
 
  I am not sure exactly what your problem is; however, after the Firefox
  update, printing now takes forever. I use to be able to click on print
  and have a document print virtually immediately. Now, I click print and
  have time to eat breakfast, take a shower and get dressed before the
  frigging thing prints out. This is definitely NOT a printer problem
  since the printer is connected via a network to a Windows machine.
  Clicking on the same document in IE results in the document being
  printed immediately. Somehow, somewhere, something got seriously
  broken in Firefox.
 
 
 I do also get a print if I wait, but it's a one liner saying:
 
 Unrecoverable error: rangecheck in setpagedevice
 Operand stack:
true  --nostri

Do you get better results when printing to a file (PS) and
then sending it directly to the printer (via lpr)? Maybe
this problem is comparable to my Opera printing problem
(where I could identify Opera being the source of invalid
PS data).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Printing from Firefox broken after update.

2011-09-11 Thread thomas
On windows it delay much longer than usual, yea something change in firefox, 
affect that  
Regards

-Original Message-
From: Leslie Jensen les...@eskk.nu
Sender: owner-freebsd-questi...@freebsd.org
Date: Sun, 11 Sep 2011 08:36:05 
To: FreeBSDfreebsd-questions@freebsd.org
Cc: Jerryje...@seibercom.net
Subject: Re: Printing from Firefox broken after update.



 I am not sure exactly what your problem is; however, after the Firefox
 update, printing now takes forever. I use to be able to click on print
 and have a document print virtually immediately. Now, I click print and
 have time to eat breakfast, take a shower and get dressed before the
 frigging thing prints out. This is definitely NOT a printer problem
 since the printer is connected via a network to a Windows machine.
 Clicking on the same document in IE results in the document being
 printed immediately. Somehow, somewhere, something got seriously
 broken in Firefox.


I do also get a print if I wait, but it's a one liner saying:

Unrecoverable error: rangecheck in setpagedevice
Operand stack:
   true  --nostri

/Leslie
___
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

Re: get rel 9.0 iso

2011-09-11 Thread Thomas Mueller mueller6727
I could build one kernel that would support the hardware on both computers, or 
one kernel for each computer.  This would be the USB-stick i386 install.  I 
would also have FreeBSD 9.0 amd64 on the new computer hard drive; would put the 
system source and ports tree on the hard-drive installation.  I might put /home 
together with root and /usr on the main (USB-stick installation) partition.  X 
Window manager would be IceWM.

FreeBSD itself can run comfortably in well under 256 MB RAM.  Resource hogs are 
the big applications: KDE, GNOME, bigger web browsers, multimedia, Adobe Flash 
Player, printers.  Servers, not needing all the fancy stuff, can be set up on 
old computers as long as they're in good condition.  By printers, I mean not 
only CUPS, but hplip which depends on cups.  On BETA1, hplip build failed in 
cups because of undefined variable, I believe.  Other failed port was fuse.

On the computer from 2001, FreeBSD 8.1 and 8.2 /var got over 800 MB; I became 
nervous as /var data grew during the freebsd-update from 8.1 to 8.2.

Most iso-downloadable (CD or DVD) Linux distributions now require 512 MB RAM or 
more; I believe PC-BSD requires at least 512 MB RAM.

Tom

___
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: Printing from Firefox broken after update.

2011-09-11 Thread Jerry
On Sun, 11 Sep 2011 08:53:42 +0200
Polytropon articulated:

 Do you get better results when printing to a file (PS) and
 then sending it directly to the printer (via lpr)? Maybe
 this problem is comparable to my Opera printing problem
 (where I could identify Opera being the source of invalid
 PS data).

Wow, what a waste of time that is. I just use MS Windows when I have to
print and avoid all that rigmarole.

Firefox use to work correctly; however, it no longer does. At first I
thought it was a localized phenomena; however, after checking on
several different forums I have concluded that it is far more wide
spread than I had originally thought.

There have been reports filed against this behavior. If and when they
are acted upon is anyone's guess. In the mean time, I just use what is
convenient and works reliably without adding an undo burden upon
myself. Continual use of broken software effectively makes the end
user and enabler; something I have no desire to invest my time in.

-- 
Jerry ✌
jerry+f...@seibercom.net

Disclaimer: off-list followups get on-list replies or ignored.
Do not CC this poster. Please do not ignore the Reply-To header.

http://www.catb.org/~esr/faqs/smart-questions.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: Printing from Firefox broken after update.

2011-09-11 Thread Polytropon
On Sun, 11 Sep 2011 07:21:40 -0400, Jerry wrote:
 On Sun, 11 Sep 2011 08:53:42 +0200
 Polytropon articulated:
 
  Do you get better results when printing to a file (PS) and
  then sending it directly to the printer (via lpr)? Maybe
  this problem is comparable to my Opera printing problem
  (where I could identify Opera being the source of invalid
  PS data).
 
 Wow, what a waste of time that is. I just use MS Windows when I have to
 print and avoid all that rigmarole.

Fully agree. I just use a PS printer (networked) and can
print directly from any system and any application, no
need for any rigmaroles. :-)



 Firefox use to work correctly; however, it no longer does. At first I
 thought it was a localized phenomena; however, after checking on
 several different forums I have concluded that it is far more wide
 spread than I had originally thought.

This seems to be typical for development project that
focus on development at any cost, dropping functionality
or accidentally losing some. Sadly such behaviour is not
limited to Firefox, but also to other programs many users
consider essential.



 There have been reports filed against this behavior. If and when they
 are acted upon is anyone's guess. In the mean time, I just use what is
 convenient and works reliably without adding an undo burden upon
 myself.

Well, I always have problems understanding why functionality
that has been working perfectly for years stops working,
especially when changes that programmers made are in _no_
obvious relation to that functionality...

This means: Don't update your software if you want to keep
it working. And use a real printer that JUST WORKS. :-)



 Continual use of broken software effectively makes the end
 user and enabler; something I have no desire to invest my time in.

Also agree. Firefox is not the only web browser available
and usable (although it might be the world's favourite one).
And finally, it wouldn't be the first product that users
abandon due to such lack of... quality? Is this correct?
I'd say yes.



Coming back on topic:

It would be useful to identify Firefox as initiator of
the printing problems (if that isn't clear yet), just to
make sure that it isn't CUPS (which often is used for its
printer filters when using winprinters). That's why
involving the Print to file step sounds useful here.
In case Firefox produces defective Postscript, that would
indicate that it's really a Firefox thing that should
be fixed as soon as possible.

This step of diagnostics should help to be sure _what_
to fix.

By the way, I'm still using Firefox 6.0.1 here and don't
have printing problems, even using with CUPS 1.4.6.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


KVM switch with FreeBSD-8.2

2011-09-11 Thread Carmel
I am thinking of using a TRENDnet 2-Port DVI USB KVM Switch Kit with
Audio TK-214i with a FreeBSD-8.2 amd64 PC and a Windows 7 machine. I
presently have a Samsung 24 digital monitor and a Logitech S510
cordless keyboard  mouse combination. The keyboard, mouse and monitor
presently work fine on FreeBSD.

I am wondering if anyone has any personal experience with using KVM
switches with FreeBSD and what that experience might be. I would really
like to integrate these two PC into using just one common monitor,
etcetera mostly due to space considerations.

-- 
Carmel ✌
carmel...@hotmail.com

___
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


Media streaming software.

2011-09-11 Thread Graeme Dargie
Hi All

Must be a year or so ago I posted looking for some advice on media streaming 
software that had a some specific requirements, mainly that it would transcode 
media on the fly to an MPEG2 stream so the dlna enabled TV could display the 
stream, I did get some good advice at the time but ultimately nothing quite 
fitted the bill.

That was until someone mentioned serviio to me, so I looked in ports and sure 
it enough it is there (/usr/ports/net/serviio) it works great happily my TV 
will now play an MKV file and pretty much anything else I have thrown at it. So 
if you are looking for something that will work on a headless server to allow 
you stream media .. I would check this one out.

Regards

Graeme
___
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


KVM switch with FreeBSD-8.2

2011-09-11 Thread Robert Huff

Carmel writes:

  I am thinking of using a TRENDnet 2-Port DVI USB KVM Switch Kit with
  Audio TK-214i with a FreeBSD-8.2 amd64 PC and a Windows 7 machine. I
  presently have a Samsung 24 digital monitor and a Logitech S510
  cordless keyboard  mouse combination. The keyboard, mouse and monitor
  presently work fine on FreeBSD.
  
  I am wondering if anyone has any personal experience with using KVM
  switches with FreeBSD and what that experience might be. I would really
  like to integrate these two PC into using just one common monitor,
  etcetera mostly due to space considerations.

I have not used that particular make/model, but I have used a
KVM and it worked.  I vaguely remember accounts of people who had
problems; a search of the mailing-list archives is advisable.


Robert Huff

___
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: KVM switch with FreeBSD-8.2

2011-09-11 Thread Adam Vande More
On Sun, Sep 11, 2011 at 8:03 AM, Carmel carmel...@hotmail.com wrote:

 I am wondering if anyone has any personal experience with using KVM
 switches with FreeBSD and what that experience might be. I would really
 like to integrate these two PC into using just one common monitor,
 etcetera mostly due to space considerations.


My experience with this is limited, but good.  It's been sometime since I've
used this setup, but I recall the FreeBSD was actually PCBSD and for it to
work correctly I have to have them KVM switched to it when X was starting.

-- 
Adam Vande More
___
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: Need an audio multicasting solution

2011-09-11 Thread Victor Sudakov
Alejandro Imass wrote:
 
  I need a solution to read sound from a soundcard (/dev/dsp) and
  multicast it into the network, for the multicast audio stream to be
  played on FreeBSD, Linux and Windows workstations. No sophisticated
  codecs needed, plain PCM would do.
 
  Can you advise something? I know that in theory there are many ways to
  implement this, but I am especially interested in personal first-hand
  experience, success stories or good white papers. Please no
  lmgtfu-type replies. Thanks very much in advance.
 
 
 I doubt people in this list are the lmgtfu type!
 
 I use Icecast on FBSD and it works great.

Alejandro, correct me if I am wrong but AFAIK Icecast works with mp3
files. Can it really read audio from /dev/dsp? I don't need mp3, I
would prefer to multicast simple PCM data. Even 8 bit PCM (64 Kbit/s)
would do.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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: Create official mirror of FreeBSD

2011-09-11 Thread Antonio Olivares
On Sun, Sep 11, 2011 at 11:37 AM, Ayaz Baghirov ayaz.bagi...@gmail.com wrote:
 Good day my dear colleagues!

 My name is Ayaz Baghirov, I live in Azerbaijan and work in IT sector about 3
 years. I got acquainted with open systems and software not a time ago. But
 liked them immediately. Especially *nix and *BSD systems. It's so exciting
 to have a deal with a stable systems!  So that's why I decided to write you
 a letter concerning creating an official mirror of FreeBSD server in my
 country. That all need to know is what procedures should I make? And what
 demands to server and internet channel is required?
 At the end I'd like to wish success and good luck to all FreeBSD team!

 I hope to get detailed answer from you!

 Looking forward to your response,Yours sincerely Ayaz Baghirov.
 ___

You may refer to the following document:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html

Hope it helps.

Regards,

Antonio
___
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: KVM switch with FreeBSD-8.2

2011-09-11 Thread Daniel Feenberg



On Sun, 11 Sep 2011, Robert Huff wrote:



Carmel writes:


 I am thinking of using a TRENDnet 2-Port DVI USB KVM Switch Kit with
 Audio TK-214i with a FreeBSD-8.2 amd64 PC and a Windows 7 machine. I
 presently have a Samsung 24 digital monitor and a Logitech S510
 cordless keyboard  mouse combination. The keyboard, mouse and monitor
 presently work fine on FreeBSD.

 I am wondering if anyone has any personal experience with using KVM
 switches with FreeBSD and what that experience might be. I would really
 like to integrate these two PC into using just one common monitor,
 etcetera mostly due to space considerations.


I have not used that particular make/model, but I have used a
KVM and it worked.  I vaguely remember accounts of people who had
problems; a search of the mailing-list archives is advisable.


The problem I have heard of relates to what happens if the machine boots 
with the KVM switched to another machine? The KVM may need to pretend 
there is a keyboard connected at that point. You certainly can't tell by 
looking at the box, but the Trendnet TK-407 I have (which is a 4-port USB 
KVM from the vendor you mention) works fine with FreeBSD and Windows. We 
haven't tested the mouse in FreeBSD. Since any USB KVM would be fairly 
recent, you might just want to take a chance.


Solaris Sparc systems had worse problems.

Daniel Feenberg




Robert Huff

___
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


9.0 beta2 the new bsdinstaller

2011-09-11 Thread Fbsd8

Here are some problems that need to be addressed in 9.0.
If this list is not the correct list to notify the release team
then please post to the correct list.

1. During the transitional phase to using the new installer, the 
bsdinstaller welcome screen should have option to select to use
the old sysinstall instead of continuing with the new bsdinstaller. 
Selecting the shell option and entering sysinstall on the command line 
does launch the previous installer but it does not really work.


2. On the select a keyboard language menu screen, there are 9 options
for USA and none of them is the 101 keyboard layout. I've been
installing FBSD since release 4.0 and have never changed the keyboard
from what ever the default was. This keyboard menu should list the first
entry in the list as (default and use the keyboard language as used in
all previous releases. Also the keymap= statement that is placed in
/etc/rc.conf should have a default setting in /etc/defaults/rc.conf. The
system hangs if the keymap= statement is missing from /etc/rc.conf on boot.

3.Following the keyboard language menu screen is the set host name
screen. It seems that the keyboard language selected in the previous
menu is now in effect and if the keys layout does not line up with
the keyboard you have, then what ever you enter for the host name is
scrambled, (IE. type in home and dwkc is what shows on the screen).
There is no option to return to previous keyboard language
menu screen to select different keyboard language. Only option is to
reboot and start all over again from the beginning of the new bsdinstaller.

4. Distribution selection menu screen. The games  ports options are
checked with an asterisk meaning these are the defaults. All the options
on this menu should be blank so user has to make selection. Default
should be no selections.

5. Final configuration screen has the add user option and the OK
button highlighted. Hitting keyboard enter key takes you into add user
function as the default. The exit option should be first in the list so
its highlighted and hitting enter on your keyboard moves you to next
menu screen just like all the other bsdinataller screens do.

6. At the Complete screen when the reboot option is selected the
cd/dvd drive should automatically open so the install media can be
removed just like sysinstall does. If disc1.iso or dvd.iso was installed
to memstick and used to boot from to install the system, then a message
screen should pop out saying the memstick has to be removed now before
the reboot starts. Don't let the reboot occur until the memstick is removed.

7. On the partition editor screen the option finish should be the
first in the list (ie; left most side) so if user accepts this config,
hitting enter moves to next menu screen instead of having to tab over
taking more time and effort.

8. No where in the bsdinstaller is any help available.







___
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: 9.0 beta2 the new bsdinstaller

2011-09-11 Thread Ryan Coleman

On Sep 11, 2011, at 1:32 PM, Fbsd8 wrote:

 Here are some problems that need to be addressed in 9.0.
 If this list is not the correct list to notify the release team
 then please post to the correct list.

I suggest you find the right list and do that yourself. :)
___
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: KVM switch with FreeBSD-8.2

2011-09-11 Thread Carmel
On Sun, 11 Sep 2011 14:28:42 -0400 (EDT)
Daniel Feenberg articulated:

 The problem I have heard of relates to what happens if the machine
 boots with the KVM switched to another machine? The KVM may need to
 pretend there is a keyboard connected at that point. You certainly
 can't tell by looking at the box, but the Trendnet TK-407 I have
 (which is a 4-port USB KVM from the vendor you mention) works fine
 with FreeBSD and Windows. We haven't tested the mouse in FreeBSD.
 Since any USB KVM would be fairly recent, you might just want to take
 a chance.

There is a Windows configuration utility that can be used to setup the
switch. The way I figure it, if I cannot get it to work satisfactory, I
can always return it.

Does your switch work when X is not loaded? I have not been able to
get a satisfactory answer regarding that. Someone mentioned that X
has to be loaded first. That would definitely be a deal breaker.

Thanks for your feedback.

-- 
Carmel ✌
carmel...@hotmail.com

___
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: KVM switch with FreeBSD-8.2

2011-09-11 Thread Adam Vande More
On Sun, Sep 11, 2011 at 2:09 PM, Carmel carmel...@hotmail.com wrote:



 Does your switch work when X is not loaded? I have not been able to
 get a satisfactory answer regarding that. Someone mentioned that X
 has to be loaded first. That would definitely be a deal breaker.


What I said is that the KVM, in my case, had to be set to the FreeBSD system
when X was started for the KVM/FreeBSD system interaction to be correct.
That's a much different circumstance that X has to be loaded first which is
something I did not say.

-- 
Adam Vande More
___
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: KVM switch with FreeBSD-8.2

2011-09-11 Thread Daniel Feenberg



On Sun, 11 Sep 2011, Carmel wrote:


On Sun, 11 Sep 2011 14:28:42 -0400 (EDT)
Daniel Feenberg articulated:


The problem I have heard of relates to what happens if the machine
boots with the KVM switched to another machine? The KVM may need to
pretend there is a keyboard connected at that point. You certainly
can't tell by looking at the box, but the Trendnet TK-407 I have
(which is a 4-port USB KVM from the vendor you mention) works fine
with FreeBSD and Windows. We haven't tested the mouse in FreeBSD.
Since any USB KVM would be fairly recent, you might just want to take
a chance.


There is a Windows configuration utility that can be used to setup the
switch. The way I figure it, if I cannot get it to work satisfactory, I
can always return it.

Does your switch work when X is not loaded? I have not been able to
get a satisfactory answer regarding that. Someone mentioned that X
has to be loaded first. That would definitely be a deal breaker.



If you are asking, Is there a FreeBSD command to cause the KVM switch to 
move to the next system? then the answer is I don't know and it would 
amaze me if there were.


If the question is Does the switch care what the OS is? then the answer 
is, you can press the physical button on the switch to change the system 
connected. The OS doesn't know it doesn't have the screen and keyboard, 
and is in no way affected by the KVM switch, just as the KVM doesn't know 
or care what the OS is.


I just looked at the manual for the 207K online, and it indeed comes with 
a utility that runs under windows. That won't work with FreeBSD but the 
switch has actual buttons on it, and they will work fine.


Daniel Feenberg



Thanks for your feedback.

--
Carmel ✌
carmel...@hotmail.com

___
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

Re: KVM switch with FreeBSD-8.2

2011-09-11 Thread Warren Block

On Sun, 11 Sep 2011, Daniel Feenberg wrote:

If you are asking, Is there a FreeBSD command to cause the KVM switch to 
move to the next system? then the answer is I don't know and it would amaze 
me if there were.


There's often a key sequence to advance to the next port or a specific 
port.


If the question is Does the switch care what the OS is? then the answer is, 
you can press the physical button on the switch to change the system 
connected. The OS doesn't know it doesn't have the screen and keyboard, and 
is in no way affected by the KVM switch, just as the KVM doesn't know or care 
what the OS is.


Well... there's monitor detection by the video card.  That can cause 
problems.  Also, going through the KVM can reduce video quality with VGA 
and high resolutions.

___
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


traffic shaping freebsd

2011-09-11 Thread alexus
can someone provide a real (working) live example of traffic shaping with ipfw
i just can't get mine to work no matter what...

-- 
http://alexus.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


How to check where space is LOST

2011-09-11 Thread Коньков Евгений
Hi.

I notice that some times /var is overfull

# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad1s1a496M239M217M52%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad1s1e124M 40K114M 0%/tmp
/dev/ad1s1f1.8G1.1G596M65%/usr
/dev/ad1s1d989M349M561M38%/var
devfs  1.0K1.0K  0B   100%/var/named/dev

# cd /var/

# du -h -d 1
2.0K./.snap
2.0K./account
6.0K./at
2.0K./audit
 12K./backups
4.0K./crash
4.0K./cron
2.0K./empty
2.0K./heimdal
 79M./log
 19M./mail
4.0K./msgs
159K./named
2.0K./preserve
 60K./run
2.0K./rwho
 70K./spool
 14K./tmp
 24K./yp
2.0K./games
2.0K./agentx
 22K./net-snmp
4.0K./lost+found
 98M.

If I just #reboot system. I get that on /var is only 98M used.

# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad1s1a496M239M217M52%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad1s1e124M 40K114M 0%/tmp
/dev/ad1s1f1.8G1.1G596M65%/usr
/dev/ad1s1d989M 98M891M12%/var
devfs  1.0K1.0K  0B   100%/var/named/dev

How to obtain what take space on /var

-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
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: traffic shaping freebsd

2011-09-11 Thread Коньков Евгений
Здравствуйте, alexus.

Вы писали 12 сентября 2011 г., 1:18:10:

a can someone provide a real (working) live example of traffic shaping with 
ipfw
a i just can't get mine to work no matter what...


you can try this
http://translate.google.com.ua/translate?hl=rusl=rutl=enu=http%3A%2F%2Fkes.net.ua%2Fsoftdev%2Fadvanced_firewall.html

-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
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: KVM switch with FreeBSD-8.2

2011-09-11 Thread Daniel Staal

--As of September 11, 2011 9:03:17 AM -0400, Carmel is alleged to have said:


I am thinking of using a TRENDnet 2-Port DVI USB KVM Switch Kit with
Audio TK-214i with a FreeBSD-8.2 amd64 PC and a Windows 7 machine. I
presently have a Samsung 24 digital monitor and a Logitech S510
cordless keyboard  mouse combination. The keyboard, mouse and monitor
presently work fine on FreeBSD.

I am wondering if anyone has any personal experience with using KVM
switches with FreeBSD and what that experience might be. I would really
like to integrate these two PC into using just one common monitor,
etcetera mostly due to space considerations.


--As for the rest, it is mine.

In my experience, the OS isn't all that relevant.  The main question is if 
the hardware works well together.  Many KVMs don't do a great job of 
emulating a connection if the computer isn't the currently active one, and 
this can cause problems when something wants to see if a monitor is present 
(and wants to check what it's specs are), but that's not a FreeBSD problem 
per se: It's just a problem with the hardware.


I'm sorry I don't have any good, cheap, KVM recommendations at this time. 
Enterprize-grade hardware usually doesn't have this problem (although it 
might), and I haven't needed to use a small KVM for a while.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
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: traffic shaping freebsd

2011-09-11 Thread alexus
thanks, but did u actually tried it? i'd prefer an example from a live
system if possible
its just its not working for me, so maybe i'm doing something off, so
thats why i wanted to see a working example from someone's system

2011/9/11 Коньков Евгений kes-...@yandex.ru:
 Здравствуйте, alexus.

 Вы писали 12 сентября 2011 г., 1:18:10:

 a can someone provide a real (working) live example of traffic shaping with 
 ipfw
 a i just can't get mine to work no matter what...


 you can try this
 http://translate.google.com.ua/translate?hl=rusl=rutl=enu=http%3A%2F%2Fkes.net.ua%2Fsoftdev%2Fadvanced_firewall.html

 --
 С уважением,
  Коньков                          mailto:kes-...@yandex.ru





-- 
http://alexus.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

Re[2]: traffic shaping freebsd

2011-09-11 Thread Коньков Евгений
Здравствуйте, alexus.

That is my article. I have wrote it when I configure my VPN server to
shape home users.

If questions - ask.

Вы писали 12 сентября 2011 г., 1:38:30:

a thanks, but did u actually tried it? i'd prefer an example from a live
a system if possible
a its just its not working for me, so maybe i'm doing something off, so
a thats why i wanted to see a working example from someone's system

a 2011/9/11 Коньков Евгений kes-...@yandex.ru:
 Здравствуйте, alexus.

 Вы писали 12 сентября 2011 г., 1:18:10:

 a can someone provide a real (working) live example of traffic shaping with 
 ipfw
 a i just can't get mine to work no matter what...


 you can try this
 http://translate.google.com.ua/translate?hl=rusl=rutl=enu=http%3A%2F%2Fkes.net.ua%2Fsoftdev%2Fadvanced_firewall.html

 --
 С уважением,
  Коньков                          mailto:kes-...@yandex.ru








-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
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: How to check where space is LOST

2011-09-11 Thread ill...@gmail.com
2011/9/11 Коньков Евгений kes-...@yandex.ru:
 Hi.

 I notice that some times /var is overfull

 # df -h
 Filesystem     Size    Used   Avail Capacity  Mounted on
 /dev/ad1s1a    496M    239M    217M    52%    /
 devfs          1.0K    1.0K      0B   100%    /dev
 /dev/ad1s1e    124M     40K    114M     0%    /tmp
 /dev/ad1s1f    1.8G    1.1G    596M    65%    /usr
 /dev/ad1s1d    989M    349M    561M    38%    /var
 devfs          1.0K    1.0K      0B   100%    /var/named/dev

 # cd /var/

 # du -h -d 1
 2.0K    ./.snap
 2.0K    ./account
 6.0K    ./at
 2.0K    ./audit
  12K    ./backups
 4.0K    ./crash
 4.0K    ./cron
 2.0K    ./empty
 2.0K    ./heimdal
  79M    ./log
  19M    ./mail
 4.0K    ./msgs
 159K    ./named
 2.0K    ./preserve
  60K    ./run
 2.0K    ./rwho
  70K    ./spool
  14K    ./tmp
  24K    ./yp
 2.0K    ./games
 2.0K    ./agentx
  22K    ./net-snmp
 4.0K    ./lost+found
  98M    .

 If I just #reboot system. I get that on /var is only 98M used.

 # df -h
 Filesystem     Size    Used   Avail Capacity  Mounted on
 /dev/ad1s1a    496M    239M    217M    52%    /
 devfs          1.0K    1.0K      0B   100%    /dev
 /dev/ad1s1e    124M     40K    114M     0%    /tmp
 /dev/ad1s1f    1.8G    1.1G    596M    65%    /usr
 /dev/ad1s1d    989M     98M    891M    12%    /var
 devfs          1.0K    1.0K      0B   100%    /var/named/dev

 How to obtain what take space on /var


You probably have a process that is holding a file open
that has been rotated or deleted.  Probably a log file.

sysutils/lsof can help.

Also, once you track down which
process is holding open files, you should try to find out
why (/etc/syslog.conf is a suspect, obviously).


-- 
--
___
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: traffic shaping freebsd

2011-09-11 Thread Michael Sierchio
On Sun, Sep 11, 2011 at 3:38 PM, alexus ale...@gmail.com wrote:
 thanks, but did u actually tried it?

If what you're asking is, does traffic shaping work?  the answer is
yes.  There are some provisos - you must create an outbound pipe and
an inbound pipe that accurately reflect the observed network
performance (not what your ISP told you).  This is because when you
create queues of different weights, the weights are only imposed when
one or more queues are full.

See http://info.iet.unipi.it/~luigi/dummynet/

The place to start is to find out what kind of upload and download
throughput you get, then create pipes that are 95% of those observed
values (one up, one down), then instantiate queues with different
weights on each pipe, then create rules that match packets according
to which pipe they should go in.  Also consider that the sysctl
variable, net.inet.ip.fw.one_pass, might need to be 0 and not 1,
depending on whether queued packets need further processing.
___
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: How to check where space is LOST

2011-09-11 Thread Rares Aioanei
On Mon, 12 Sep 2011 01:23:32 +0300
Коньков Евгений kes-...@yandex.ru wrote:

 Hi.
 
 I notice that some times /var is overfull
 
 # df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad1s1a496M239M217M52%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/ad1s1e124M 40K114M 0%/tmp
 /dev/ad1s1f1.8G1.1G596M65%/usr
 /dev/ad1s1d989M349M561M38%/var
 devfs  1.0K1.0K  0B   100%/var/named/dev
 
 # cd /var/
 
 # du -h -d 1
 2.0K./.snap
 2.0K./account
 6.0K./at
 2.0K./audit
  12K./backups
 4.0K./crash
 4.0K./cron
 2.0K./empty
 2.0K./heimdal
  79M./log
  19M./mail
 4.0K./msgs
 159K./named
 2.0K./preserve
  60K./run
 2.0K./rwho
  70K./spool
  14K./tmp
  24K./yp
 2.0K./games
 2.0K./agentx
  22K./net-snmp
 4.0K./lost+found
  98M.
 
 If I just #reboot system. I get that on /var is only 98M used.
 
 # df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad1s1a496M239M217M52%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/ad1s1e124M 40K114M 0%/tmp
 /dev/ad1s1f1.8G1.1G596M65%/usr
 /dev/ad1s1d989M 98M891M12%/var
 devfs  1.0K1.0K  0B   100%/var/named/dev
 
 How to obtain what take space on /var
 
 -- 
 С уважением,
  Коньков  mailto:kes-...@yandex.ru
 
 ___
 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

http://www.freebsddiary.org/file-system-full.php

It really depends IMHO what you use your computer for (server ore 
workstation...). I'd bet on /var/tmp somehow .
-- 
Rares Aioanei
___
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: KVM switch with FreeBSD-8.2

2011-09-11 Thread Polytropon
On Sun, 11 Sep 2011 11:20:19 -0500, Adam Vande More wrote:
 On Sun, Sep 11, 2011 at 8:03 AM, Carmel carmel...@hotmail.com wrote:
 
  I am wondering if anyone has any personal experience with using KVM
  switches with FreeBSD and what that experience might be. I would really
  like to integrate these two PC into using just one common monitor,
  etcetera mostly due to space considerations.
 
 
 My experience with this is limited, but good.  It's been sometime since I've
 used this setup, but I recall the FreeBSD was actually PCBSD and for it to
 work correctly I have to have them KVM switched to it when X was starting.

I have ben using a similar approach in the past, but in order
to get rid of the requirement when X is started, console must
be attached I had hardcoded the neccessary screen settings
in xorg.conf so X would start even if nothing would have been
connected. Sadly I can't remember the particular model that
I had, but it had buttons to select one of the 8 console
channels on its front. I found this was better than using
something that required some weird keyboard shortcut as those
are traditionally handled by the OS or by X. A LED indicator
next to the buttons on the device's front indicated which
system the console was connected to and if the system was
online.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: KVM switch with FreeBSD-8.2

2011-09-11 Thread Polytropon
On Sun, 11 Sep 2011 15:10:48 -0600 (MDT), Warren Block wrote:
 On Sun, 11 Sep 2011, Daniel Feenberg wrote:
 
  If you are asking, Is there a FreeBSD command to cause the KVM switch to 
  move to the next system? then the answer is I don't know and it would 
  amaze 
  me if there were.
 
 There's often a key sequence to advance to the next port or a specific 
 port.

That can _sometimes_ be a problem when the KVM switch
doesn't properly detect this sequence - or maybe the
user has already defined that sequence for some action
in X, so X catches the sequence and acts properly.

My preferred solution was to get a switch that was
_fully_ independent from keyboard in regards of its
main functionality, i. e. switching. Another advantage
of that particular one was that you could DIRECTLY
switch from system #1 to system #8 without visiting
systems #2, #3, #4, #5, #6 and #7, :-)



  If the question is Does the switch care what the OS is? then the answer 
  is, 
  you can press the physical button on the switch to change the system 
  connected. The OS doesn't know it doesn't have the screen and keyboard, and 
  is in no way affected by the KVM switch, just as the KVM doesn't know or 
  care 
  what the OS is.
 
 Well... there's monitor detection by the video card.  That can cause 
 problems. 

I'm not sure in how far this sill applies to modern hardware.
Absence of a video card vs. present video card with no monitor
attached _could_ prevent a system from booting.

The next step, starting X which obtains display information by
querying the monitor (through the card), can easily be dealt
with by putting the proper settings into xorg.conf. This will
make X start even if no monitor is attached to the card.



 Also, going through the KVM can reduce video quality with VGA 
 and high resolutions.

I've seen that with some cheap cabling on analog VGA. However,
when using DVI this problem should not be present, and it's
common practice today to use DVI to attach digital displays
(means: flatscreens).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: traffic shaping freebsd

2011-09-11 Thread alexus
su-4.2# grep pipe /etc/ipfw.rules
pipe flush
pipe 1 config bw 1Mbit/s mask dst-port www
pipe 2 config bw 1Mbit/s mask src-port www
pipe 3 config bw 1Mbit/s mask dst-port 3128
add 3128 pipe 3 tcp from any to any src-port 3128 uid root
add 8381 pipe 1 tcp from any to any dst-port www uid daemon
add 8382 pipe 2 tcp from any to any src-port www uid daemon
su-4.2#


su-4.2# ipfw show | grep -E 'pipe 1|pipe 2'  ipfw pipe show 1 ; ipfw
pipe show 2
08381  11190815447 pipe 1 tcp from any to any dst-port 80 uid daemon
08382  14394  16926849 pipe 2 tcp from any 80 to any uid daemon
1:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  0 tcp 64.237.55.83/64730 69.10.58.25/8011190   815447  00   0
2:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  0 tcp  69.10.58.25/80   64.237.55.83/64730 14394 16926849  00  10
su-4.2# ipfw show | grep -E 'pipe 1|pipe 2'  ipfw pipe show 1 ; ipfw
pipe show 2
08381  11218817225 pipe 1 tcp from any to any dst-port 80 uid daemon
08382  14434  16979213 pipe 2 tcp from any 80 to any uid daemon
1:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  0 tcp 64.237.55.83/64730 69.10.58.25/8011218   817225  00   0
2:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  0 tcp  69.10.58.25/80   64.237.55.83/64730 14434 16979213  00  10
su-4.2#

as you see ipfw rules matches as count is increasing, yet pipe i'm not
seeing any difference at all, its like it matched first time and
that's it...

yet pipe shows different output

su-4.2# ipfw show | grep 'pipe 3'  ipfw pipe show 3
03128  37483  71276160 pipe 3 tcp from any 3128 to any uid root
3:   1.000 Mbit/s0 ms   50 sl. 4 queues (64 buckets) droptail
mask: 0x00 0x/0x - 0x/0x0c38
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  0 ip   0.0.0.0/0 0.0.0.0/105616 2383  00   0
 16 ip   0.0.0.0/0 0.0.0.0/1032 8 9398  00   0
 32 ip   0.0.0.0/0 0.0.0.0/20964143167  00   0
 48 ip   0.0.0.0/0 0.0.0.0/56   2 7074  00   0
su-4.2# !!
ipfw show | grep 'pipe 3'  ipfw pipe show 3
03128  39285  74616912 pipe 3 tcp from any 3128 to any uid root
3:   1.000 Mbit/s0 ms   50 sl. 4 queues (64 buckets) droptail
mask: 0x00 0x/0x - 0x/0x0c38
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  0 ip   0.0.0.0/0 0.0.0.0/10561920651  00   0
 16 ip   0.0.0.0/0 0.0.0.0/10643641781  00   0
 32 ip   0.0.0.0/0 0.0.0.0/10724353920  00   0
 48 ip   0.0.0.0/0 0.0.0.0/2104 3  595  00   0
su-4.2#

why is it seeing source ip/port as 0/0 and dest 0/? i dont understand
that at all

On Sun, Sep 11, 2011 at 7:06 PM, Michael Sierchio ku...@tenebras.com wrote:
 On Sun, Sep 11, 2011 at 3:38 PM, alexus ale...@gmail.com wrote:
 thanks, but did u actually tried it?

 If what you're asking is, does traffic shaping work?  the answer is
 yes.  There are some provisos - you must create an outbound pipe and
 an inbound pipe that accurately reflect the observed network
 performance (not what your ISP told you).  This is because when you
 create queues of different weights, the weights are only imposed when
 one or more queues are full.

 See http://info.iet.unipi.it/~luigi/dummynet/

 The place to start is to find out what kind of upload and download
 throughput you get, then create pipes that are 95% of those observed
 values (one up, one down), then instantiate queues with different
 weights on each pipe, then create rules that match packets according
 to which pipe they should go in.  Also consider that the sysctl
 variable, net.inet.ip.fw.one_pass, might need to be 0 and not 1,
 depending on whether queued packets need further processing.




-- 
http://alexus.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


Re: How to check where space is LOST

2011-09-11 Thread Adam Vande More
2011/9/11 Коньков Евгений kes-...@yandex.ru

 If I just #reboot system. I get that on /var is only 98M used.

 # df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad1s1a496M239M217M52%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/ad1s1e124M 40K114M 0%/tmp
 /dev/ad1s1f1.8G1.1G596M65%/usr
 /dev/ad1s1d989M 98M891M12%/var
 devfs  1.0K1.0K  0B   100%/var/named/dev

 How to obtain what take space on /var


fstat -f /var

-- 
Adam Vande More
___
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: traffic shaping freebsd

2011-09-11 Thread Michael Sierchio
You don't seem to have any rules that match packets. This won't work.

On Sunday, September 11, 2011, alexus ale...@gmail.com wrote:
 su-4.2# grep pipe /etc/ipfw.rules
 pipe flush
 pipe 1 config bw 1Mbit/s mask dst-port www
 pipe 2 config bw 1Mbit/s mask src-port www
 pipe 3 config bw 1Mbit/s mask dst-port 3128
 add 3128 pipe 3 tcp from any to any src-port 3128 uid root
 add 8381 pipe 1 tcp from any to any dst-port www uid daemon
 add 8382 pipe 2 tcp from any to any src-port www uid daemon
 su-4.2#


 su-4.2# ipfw show | grep -E 'pipe 1|pipe 2'  ipfw pipe show 1 ; ipfw
 pipe show 2
 08381  11190815447 pipe 1 tcp from any to any dst-port 80 uid daemon
 08382  14394  16926849 pipe 2 tcp from any 80 to any uid daemon
 1:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 tcp 64.237.55.83/64730 69.10.58.25/8011190   815447  00
  0
 2:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 tcp  69.10.58.25/80   64.237.55.83/64730 14394 16926849  00
 10
 su-4.2# ipfw show | grep -E 'pipe 1|pipe 2'  ipfw pipe show 1 ; ipfw
 pipe show 2
 08381  11218817225 pipe 1 tcp from any to any dst-port 80 uid daemon
 08382  14434  16979213 pipe 2 tcp from any 80 to any uid daemon
 1:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 tcp 64.237.55.83/64730 69.10.58.25/8011218   817225  00
  0
 2:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 tcp  69.10.58.25/80   64.237.55.83/64730 14434 16979213  00
 10
 su-4.2#

 as you see ipfw rules matches as count is increasing, yet pipe i'm not
 seeing any difference at all, its like it matched first time and
 that's it...

 yet pipe shows different output

 su-4.2# ipfw show | grep 'pipe 3'  ipfw pipe show 3
 03128  37483  71276160 pipe 3 tcp from any 3128 to any uid root
 3:   1.000 Mbit/s0 ms   50 sl. 4 queues (64 buckets) droptail
mask: 0x00 0x/0x - 0x/0x0c38
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 ip   0.0.0.0/0 0.0.0.0/105616 2383  00
  0
  16 ip   0.0.0.0/0 0.0.0.0/1032 8 9398  00
  0
  32 ip   0.0.0.0/0 0.0.0.0/20964143167  00
  0
  48 ip   0.0.0.0/0 0.0.0.0/56   2 7074  00
  0
 su-4.2# !!
 ipfw show | grep 'pipe 3'  ipfw pipe show 3
 03128  39285  74616912 pipe 3 tcp from any 3128 to any uid root
 3:   1.000 Mbit/s0 ms   50 sl. 4 queues (64 buckets) droptail
mask: 0x00 0x/0x - 0x/0x0c38
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 ip   0.0.0.0/0 0.0.0.0/10561920651  00
  0
  16 ip   0.0.0.0/0 0.0.0.0/10643641781  00
  0
  32 ip   0.0.0.0/0 0.0.0.0/10724353920  00
  0
  48 ip   0.0.0.0/0 0.0.0.0/2104 3  595  00
  0
 su-4.2#

 why is it seeing source ip/port as 0/0 and dest 0/? i dont understand
 that at all

 On Sun, Sep 11, 2011 at 7:06 PM, Michael Sierchio ku...@tenebras.com
wrote:
 On Sun, Sep 11, 2011 at 3:38 PM, alexus ale...@gmail.com wrote:
 thanks, but did u actually tried it?

 If what you're asking is, does traffic shaping work?  the answer is
 yes.  There are some provisos - you must create an outbound pipe and
 an inbound pipe that accurately reflect the observed network
 performance (not what your ISP told you).  This is because when you
 create queues of different weights, the weights are only imposed when
 one or more queues are full.

 See http://info.iet.unipi.it/~luigi/dummynet/

 The place to start is to find out what kind of upload and download
 throughput you get, then create pipes that are 95% of those observed
 values (one up, one down), then instantiate queues with different
 weights on each pipe, then create rules that match packets according
 to which pipe they should go in.  Also consider that the sysctl
 variable, net.inet.ip.fw.one_pass, might need to be 0 and not 1,
 depending on whether queued packets need further processing.




 --
 http://alexus.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


Re: traffic shaping freebsd

2011-09-11 Thread Michael Sierchio
amending my remark... UID matching is problematic. Why are you trying to
classify packets based on that?

On Sunday, September 11, 2011, Michael Sierchio ku...@tenebras.com wrote:
 You don't seem to have any rules that match packets. This won't work.

 On Sunday, September 11, 2011, alexus ale...@gmail.com wrote:
 su-4.2# grep pipe /etc/ipfw.rules
 pipe flush
 pipe 1 config bw 1Mbit/s mask dst-port www
 pipe 2 config bw 1Mbit/s mask src-port www
 pipe 3 config bw 1Mbit/s mask dst-port 3128
 add 3128 pipe 3 tcp from any to any src-port 3128 uid root
 add 8381 pipe 1 tcp from any to any dst-port www uid daemon
 add 8382 pipe 2 tcp from any to any src-port www uid daemon
 su-4.2#


 su-4.2# ipfw show | grep -E 'pipe 1|pipe 2'  ipfw pipe show 1 ; ipfw
 pipe show 2
 08381  11190815447 pipe 1 tcp from any to any dst-port 80 uid daemon
 08382  14394  16926849 pipe 2 tcp from any 80 to any uid daemon
 1:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 tcp 64.237.55.83/64730 69.10.58.25/8011190   815447  0
 0   0
 2:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 tcp  69.10.58.25/80   64.237.55.83/64730 14394 16926849  0
 0  10
 su-4.2# ipfw show | grep -E 'pipe 1|pipe 2'  ipfw pipe show 1 ; ipfw
 pipe show 2
 08381  11218817225 pipe 1 tcp from any to any dst-port 80 uid daemon
 08382  14434  16979213 pipe 2 tcp from any 80 to any uid daemon
 1:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 tcp 64.237.55.83/64730 69.10.58.25/8011218   817225  0
 0   0
 2:   1.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 tcp  69.10.58.25/80   64.237.55.83/64730 14434 16979213  0
 0  10
 su-4.2#

 as you see ipfw rules matches as count is increasing, yet pipe i'm not
 seeing any difference at all, its like it matched first time and
 that's it...

 yet pipe shows different output

 su-4.2# ipfw show | grep 'pipe 3'  ipfw pipe show 3
 03128  37483  71276160 pipe 3 tcp from any 3128 to any uid root
 3:   1.000 Mbit/s0 ms   50 sl. 4 queues (64 buckets) droptail
mask: 0x00 0x/0x - 0x/0x0c38
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 ip   0.0.0.0/0 0.0.0.0/105616 2383  00
  0
  16 ip   0.0.0.0/0 0.0.0.0/1032 8 9398  0
 0   0
  32 ip   0.0.0.0/0 0.0.0.0/20964143167  0
 0   0
  48 ip   0.0.0.0/0 0.0.0.0/56   2 7074  0
 0   0
 su-4.2# !!
 ipfw show | grep 'pipe 3'  ipfw pipe show 3
 03128  39285  74616912 pipe 3 tcp from any 3128 to any uid root
 3:   1.000 Mbit/s0 ms   50 sl. 4 queues (64 buckets) droptail
mask: 0x00 0x/0x - 0x/0x0c38
 BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
  0 ip   0.0.0.0/0 0.0.0.0/10561920651  00
  0
  16 ip   0.0.0.0/0 0.0.0.0/10643641781  0
 0
___
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: Need an audio multicasting solution

2011-09-11 Thread Victor Sudakov
Alejandro Imass wrote:
 
  I need a solution to read sound from a soundcard (/dev/dsp) and
  multicast it into the network, for the multicast audio stream to be
  played on FreeBSD, Linux and Windows workstations. No sophisticated
  codecs needed, plain PCM would do.
 
  Can you advise something? I know that in theory there are many ways to
  implement this, but I am especially interested in personal first-hand
  experience, success stories or good white papers. Please no
  lmgtfu-type replies. Thanks very much in advance.
 
 
 I doubt people in this list are the lmgtfu type!
 
 I use Icecast on FBSD and it works great.

A quick look at Icecast showed that it does not support multicast either. 
It this true? If so, Icecast is completely useless for my scenario.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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