Play mono mp3s in stereo?
Hello, A set of mp3 recordings has been made in mono (right channel only), which is irritating to listen to with only one speaker/headphone. Is there a way to play these through both left & right equally? xmms is what I usually use. Thanks, -- Craig Skinner | http://twitter.com/Craig_Skinner http://linkd.in/yGqkv7
Re: rdomain with BGP dynamic route
Thanks for the info. I read the rdomain configuration section. My problem is how to put prefix learned dynamically from a BGP neighbor to a specific rdomain (not default rdomain 0). Sadly, I still don't know if that's possible. Regards, -Yang From: owner-m...@openbsd.org [owner-m...@openbsd.org] On Behalf Of Alexander Salmin [alexan...@salmin.biz] Sent: 25 July 2015 17:36 To: misc@openbsd.org Subject: Re: rdomain with BGP dynamic route Hey, man 5 bgpd.conf See section "Routing Domain Configuration" and parameters "export-target" and "import-target". I suspect that is what you want. Alexander Salmin On 2015-07-24 13:47, XU, YANG (YANG) wrote: > Let me describe it in another way. Can I create a new rdomain as a VRF and > use the rdomain to import/export customer's prefix through BGP? > > I will greatly appreciate it if you can provide any information. I have seen > some information online, but prefix is either from static configuration or > connected network. In my case, I need to support dynamic routes from BGP in > VRF. > > Thanks, > -Yang > > > > > From: owner-m...@openbsd.org [owner-m...@openbsd.org] On Behalf Of XU, YANG > (YANG) > Sent: 23 July 2015 08:06 > To: misc@openbsd.org > Subject: rdomain with BGP dynamic route > > Hi all, > > I am configuring OpenBSD bgpd so that it can relay the routes learned from > customer BGP servers to a route reflector (RR). Customer BGP servers only > speak IPv4 BGP, so my OpenBSD bgpd needs to add different route-distinguisher > and route-target to the dynamic routes learned from each customer BGP > neighbor before forwarding to RR. As I understand, I should be able to use > rdomain to implement this. What I really need conceptually is to attach a BGP > neighbor to a rdomain, so that dynamic routes learned from that BGP neighbor > are added to the specified rdomain. But I failed to find a way to do this in > OpenBSD. Does anyone know if this is possible and give me an BGP configure > example? > > Many thanks in advance, > > -Yang
Re: Play mono mp3s in stereo?
On 07/26/2015 09:00 AM, Craig Skinner wrote: A set of mp3 recordings has been made in mono (right channel only), which is irritating to listen to with only one speaker/headphone. Is there a way to play these through both left & right equally? xmms is what I usually use. If you don't mind the command-line, you could use mpg123 --stereo -- Neil
Re: Play mono mp3s in stereo?
On 2015-07-26 Sun 16:21 PM |, Neil Hughes wrote: > > If you don't mind the command-line, you could use mpg123 --stereo > Nice one!
Re: Sluggish/laggy browser behaviour
On Sat, 25 Jul 2015 12:54:39 +0200 Marc Espie wrote: > On Fri, Jul 24, 2015 at 10:22:14AM -0700, Nathan Van Ymeren wrote: > > Hi, > > > > I'm running the 19 July snapshot and am experiencing laggy tab > > behaviour in both Chromium and Firefox. Specifically, when opening > > and closing tabs I regularly experience noticeable and irritating > > pauses. > > > > The system is a thinkpad X220T with an i7 and 8 GB of memory, and > > under different operating systems tabbing performance is acceptable. > > > > Has anyone experienced similar? > > Do you have tabs that use sounds ? There was a bug where sndiod could > hang. I did notice it precisely because tabs were behaving strangely. > Said bug has been fixed. Newer snapshot will be fine. Hi Mark, thanks for your reply. I've updated to the latest snapshot. Unfortunately my problem persists even when tabs are not using sounds. Scrolling e.g. the front page of Reddit is choppy and stuttery. Using apmd -A and hw.perfpolicy=auto helps a little with the tabbing issue but not scrolling. Both my browsers report that they are hardware-accelerated, so it at least appears my graphics drivers are working. I'm at a loss here.
Re: Play mono mp3s in stereo?
On 2015-07-26, Craig Skinner wrote: > A set of mp3 recordings has been made in mono (right channel only), > which is irritating to listen to with only one speaker/headphone. > Is there a way to play these through both left & right equally? If I had such a file, I'd investigate mpg123's options. $ mpg123 --longhelp ... -0 --left --single0 play only left channel -1 --right --single1 play only right channel -m --mono --mix mix stereo to mono --stereo duplicate mono channel ... Not sure how these interact exactly, but I'd start there. > xmms is what I usually use. Again, under... Options -> Preferences -> Audio I/O Plugins -> MPEG Layer 1/2/3 Player -> Configure -> Decoder ... there's a "Mono" button that I'd try. -- Christian "naddy" Weisgerber na...@mips.inka.de
Re: Sluggish/laggy browser behaviour
Hey, On Sun, Jul 26, 2015 at 12:56:53PM -0700, Nathan Van Ymeren wrote: > Unfortunately my problem persists even when tabs are not using sounds. > Scrolling e.g. the front page of Reddit is choppy and stuttery. Using > apmd -A and hw.perfpolicy=auto helps a little with the tabbing issue > but not scrolling. I can pretty much confirm this on an X220i, I have sort of come to terms with it, but it is definitely noticeable (in chromium and firefox). Also, when I play clips on YouTube, playback sometimes hangs for half a second. That is with a snapshot from today. To be safe, I also recompiled sndio from CVS to make sure I didn't miss the previously mentioned patch. While it does seem to have improved the situation, it's not entirely fixed. My guess is that this is due to missing SMP features/support, but I'm not entirely sure.
Re: Sluggish/laggy browser behaviour
On Sun, Jul 26, 2015 at 11:34:04PM +0200, Henrik Friedrichsen wrote: > Hey, > > On Sun, Jul 26, 2015 at 12:56:53PM -0700, Nathan Van Ymeren wrote: > > Unfortunately my problem persists even when tabs are not using sounds. > > Scrolling e.g. the front page of Reddit is choppy and stuttery. Using > > apmd -A and hw.perfpolicy=auto helps a little with the tabbing issue > > but not scrolling. > > I can pretty much confirm this on an X220i, I have sort of come to terms > with it, but it is definitely noticeable (in chromium and firefox). > > Also, when I play clips on YouTube, playback sometimes hangs for half a > second. That is with a snapshot from today. To be safe, I also > recompiled sndio from CVS to make sure I didn't miss the previously > mentioned patch. While it does seem to have improved the situation, it's > not entirely fixed. Try viewtube[0] and gecko-mediaplayer instead. No hangs on my system at all. [0] http://isebaro.com/viewtube/?ln=en
Re: Sluggish/laggy browser behaviour
Hey On Sun, Jul 26, 2015 at 10:46:30PM +0100, Dimitris Papastamos wrote: > Try viewtube[0] and gecko-mediaplayer instead. No hangs on my system > at all. Yeah, that is a workaround. Sometimes I use youtube_dl with mpv. That was just one example, though ;p
dhclient.conf alias declarations?
Hello, I'm in the process of migrating my router/firewall system from FreeBSD to OpenBSD and I came across a minor problem. I want to have a static alias address on an interface that is otherwise configured with DHCP. What I had in FreeBSD was this entry in /etc/dhclient.conf: alias { interface "vr0"; fixed-address 192.168.1.200; option subnet-mask 255.255.255.0; } This seems to be silently ignored on OpenBSD 5.7 and the dhclient.conf manual page makes no mention of alias declarations. How am I supposed to achieve the same effect? -Kimmo
Re: dhclient.conf alias declarations?
On 2015-07-26 19:12, Kimmo Paasiala wrote: Hello, I'm in the process of migrating my router/firewall system from FreeBSD to OpenBSD and I came across a minor problem. I want to have a static alias address on an interface that is otherwise configured with DHCP. What I had in FreeBSD was this entry in /etc/dhclient.conf: alias { interface "vr0"; fixed-address 192.168.1.200; option subnet-mask 255.255.255.0; } This seems to be silently ignored on OpenBSD 5.7 and the dhclient.conf manual page makes no mention of alias declarations. How am I supposed to achieve the same effect? -Kimmo Perhaps something like this in your /etc/hostname.vr0 instead would work for you? dhcp !ifconfig vr0 alias 192.168.1.200/32
Re: dhclient.conf alias declarations?
On Mon, Jul 27, 2015 at 2:33 AM, Josh Grosse wrote: > On 2015-07-26 19:12, Kimmo Paasiala wrote: >> >> Hello, >> >> I'm in the process of migrating my router/firewall system from FreeBSD >> to OpenBSD and I came across a minor problem. I want to have a static >> alias address on an interface that is otherwise configured with DHCP. >> What I had in FreeBSD was this entry in /etc/dhclient.conf: >> >> alias { >> interface "vr0"; >> fixed-address 192.168.1.200; >> option subnet-mask 255.255.255.0; >> } >> >> This seems to be silently ignored on OpenBSD 5.7 and the dhclient.conf >> manual page makes no mention of alias declarations. How am I supposed >> to achieve the same effect? >> >> -Kimmo > > > Perhaps something like this in your /etc/hostname.vr0 instead would work > for you? > > dhcp > !ifconfig vr0 alias 192.168.1.200/32 No, doesn't work. Interestingly doing the alias manually when dhclient is running and vr0 has a public IP address from DHCP: sudo ifconfig vr0 alias 192.168.1.200/24 This kills dhclient(8) completely and removes the main address. Any other ideas? -Kimmo
Re: dhclient.conf alias declarations?
On Mon, Jul 27, 2015 at 3:00 AM, Kimmo Paasiala wrote: > On Mon, Jul 27, 2015 at 2:33 AM, Josh Grosse wrote: >> On 2015-07-26 19:12, Kimmo Paasiala wrote: >>> >>> Hello, >>> >>> I'm in the process of migrating my router/firewall system from FreeBSD >>> to OpenBSD and I came across a minor problem. I want to have a static >>> alias address on an interface that is otherwise configured with DHCP. >>> What I had in FreeBSD was this entry in /etc/dhclient.conf: >>> >>> alias { >>> interface "vr0"; >>> fixed-address 192.168.1.200; >>> option subnet-mask 255.255.255.0; >>> } >>> >>> This seems to be silently ignored on OpenBSD 5.7 and the dhclient.conf >>> manual page makes no mention of alias declarations. How am I supposed >>> to achieve the same effect? >>> >>> -Kimmo >> >> >> Perhaps something like this in your /etc/hostname.vr0 instead would work >> for you? >> >> dhcp >> !ifconfig vr0 alias 192.168.1.200/32 > > No, doesn't work. Interestingly doing the alias manually when dhclient > is running and vr0 has a public IP address from DHCP: > > sudo ifconfig vr0 alias 192.168.1.200/24 > > This kills dhclient(8) completely and removes the main address. > > Any other ideas? > > -Kimmo The system log /var/log/messages reveals: Jul 27 03:01:30 firewall dhclient[23894]: 192.168.1.200 added to vr0; exiting Why is this done in so bizarre fashion? It is not unusual to want to have a static alias address on an interface that is otherwise configured with DHCP. -Kimmo
Re: dhclient.conf alias declarations?
Look at hostname.if, for the vr0 interface, it would be called hostname.vr0 This is how you define aliases for a particular alias in OpenBSD. -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Kimmo Paasiala Sent: Sunday, July 26, 2015 5:12 PM To: misc@openbsd.org Subject: dhclient.conf alias declarations? Hello, I'm in the process of migrating my router/firewall system from FreeBSD to OpenBSD and I came across a minor problem. I want to have a static alias address on an interface that is otherwise configured with DHCP. What I had in FreeBSD was this entry in /etc/dhclient.conf: alias { interface "vr0"; fixed-address 192.168.1.200; option subnet-mask 255.255.255.0; } This seems to be silently ignored on OpenBSD 5.7 and the dhclient.conf manual page makes no mention of alias declarations. How am I supposed to achieve the same effect? -Kimmo
Re: dhclient.conf alias declarations?
On 07/26/15 19:10, Kimmo Paasiala wrote: On Mon, Jul 27, 2015 at 3:00 AM, Kimmo Paasiala wrote: On Mon, Jul 27, 2015 at 2:33 AM, Josh Grosse wrote: On 2015-07-26 19:12, Kimmo Paasiala wrote: Hello, I'm in the process of migrating my router/firewall system from FreeBSD to OpenBSD and I came across a minor problem. I want to have a static alias address on an interface that is otherwise configured with DHCP. What I had in FreeBSD was this entry in /etc/dhclient.conf: alias { interface "vr0"; fixed-address 192.168.1.200; option subnet-mask 255.255.255.0; } This seems to be silently ignored on OpenBSD 5.7 and the dhclient.conf manual page makes no mention of alias declarations. How am I supposed to achieve the same effect? -Kimmo Perhaps something like this in your /etc/hostname.vr0 instead would work for you? dhcp !ifconfig vr0 alias 192.168.1.200/32 No, doesn't work. Interestingly doing the alias manually when dhclient is running and vr0 has a public IP address from DHCP: sudo ifconfig vr0 alias 192.168.1.200/24 This kills dhclient(8) completely and removes the main address. Any other ideas? -Kimmo The system log /var/log/messages reveals: Jul 27 03:01:30 firewall dhclient[23894]: 192.168.1.200 added to vr0; exiting Why is this done in so bizarre fashion? It is not unusual to want to have a static alias address on an interface that is otherwise configured with DHCP. -Kimmo I can't test this, but from what I'm reading I think this should work /etc/hostname.vr0 dhcp "alias 192.168.1.200 netmask 255.255.255.0"