Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] cerowrt 3.7.1-1 released
@ 2013-01-02 10:03 Dave Taht
  2013-01-03 16:54 ` Ketan Kulkarni
  2013-01-03 18:50 ` dpreed
  0 siblings, 2 replies; 8+ messages in thread
From: Dave Taht @ 2013-01-02 10:03 UTC (permalink / raw)
  To: cerowrt-devel

Two formerly back-ordered 3800s arrived yesterday!

They barely had time to power on before I reflashed them with:

http://snapon.lab.bufferbloat.net/~cero2/cerowrt/wndr/3.7.1-1/

I still regard this series as heavily development oriented and
unsuitable for general use. In particular I'd like to wait for dnsmasq
to come out of beta, fix AHCP, add a gui for the ceroshaper, etc, etc.

But: This is the first devel release I've been able to test in the
real world as a default gw in a while. So far, so good.

I have some issues with how the new network6 configuration stuff
interacts with ahcp, but aside from that... I saw upnp work for the
first time... saw the ula auto code work... analyzed some dropbox and
netflix traffic, ran a couple android boxes through it, fiddled with
nfq_codel...

some notes:

+ resync with openwrt head
+ update to Linux 3.7.1 with unaligned patches from robert bradley
+ A QFQ+ update
+ mildly improved nfq_codel
- Missing cups support (didn't compile
- no ipv6 npt yet

Merry New Year!

-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Cerowrt-devel] cerowrt 3.7.1-1 released
  2013-01-02 10:03 [Cerowrt-devel] cerowrt 3.7.1-1 released Dave Taht
@ 2013-01-03 16:54 ` Ketan Kulkarni
  2013-01-03 18:50 ` dpreed
  1 sibling, 0 replies; 8+ messages in thread
From: Ketan Kulkarni @ 2013-01-03 16:54 UTC (permalink / raw)
  To: Dave Taht; +Cc: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 2284 bytes --]

Thanks Dave.
I upgraded my 3800 to 3.7.1-1. It is working for day to day Internet activity.

However, I am not able to get through even a single TCP TFO
connection. The router restarts as soon as it sees the TFO connection.
Looks like SYN+Data is crashing the box (see attached trace captured
on lo iface of cero). logread, dmesg did not show anything. I don't
know whether its kernel panic.

Any pointers to debug further?

This is strange as 3.6 was working for SYN+Data cases.

However the difference from previous instance is the polipo server
with TFO running on cero box.
Client may run on same cero or on my laptop which in either case
crashes the box.

On 3.7, if I run the TFO client on cero box and TFO server on the
laptop, it still works but not the reverse.

Any thoughts?

Thanks,
Ketan

On Wed, Jan 2, 2013 at 3:33 PM, Dave Taht <dave.taht@gmail.com> wrote:
> Two formerly back-ordered 3800s arrived yesterday!
>
> They barely had time to power on before I reflashed them with:
>
> http://snapon.lab.bufferbloat.net/~cero2/cerowrt/wndr/3.7.1-1/
>
> I still regard this series as heavily development oriented and
> unsuitable for general use. In particular I'd like to wait for dnsmasq
> to come out of beta, fix AHCP, add a gui for the ceroshaper, etc, etc.
>
> But: This is the first devel release I've been able to test in the
> real world as a default gw in a while. So far, so good.
>
> I have some issues with how the new network6 configuration stuff
> interacts with ahcp, but aside from that... I saw upnp work for the
> first time... saw the ula auto code work... analyzed some dropbox and
> netflix traffic, ran a couple android boxes through it, fiddled with
> nfq_codel...
>
> some notes:
>
> + resync with openwrt head
> + update to Linux 3.7.1 with unaligned patches from robert bradley
> + A QFQ+ update
> + mildly improved nfq_codel
> - Missing cups support (didn't compile
> - no ipv6 npt yet
>
> Merry New Year!
>
> --
> Dave Täht
>
> Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel

[-- Attachment #2: lo_capture.txt --]
[-- Type: text/plain, Size: 1944 bytes --]

root@OpenWrt:~# httping -F -g http://127.0.0.1:8123
PING 127.0.0.1:8123 (http://127.0.0.1:8123):
16:36:36.033466 IP localhost.39443 > localhost.8123: Flags [SEW], seq 2946288341, win 43690, options [mss 65495,sackOK,TS val 4294964893 ecr 0,nop,wscale 6,Unknown Option 254f989], length 0 --> SYN + Coockie and no Data.
connected to 127.0.0.1:8123 (183 bytes), seq=0 time=3.15 ms 
16:36:36.033584 IP localhost.8123 > localhost.39443: Flags [S.E], seq 654941876, ack 2946288342, win 43690, options [mss 65495,sackOK,TS val 4294964893 ecr 4294964893,nop,wscale 6,Unknown Option 254f989df087214939732ef], length 0  --> SYN+ACK+Cookie
16:36:36.033638 IP localhost.39443 > localhost.8123: Flags [.], ack 1, win 683, options [nop,nop,TS val 4294964893 ecr 4294964893], length 0
16:36:36.034971 IP localhost.39443 > localhost.8123: Flags [P.], seq 1:65, ack 1, win 683, options [nop,nop,TS val 4294964894 ecr 4294964893], length 64 --> HTTP Request HEAD
16:36:36.035112 IP localhost.8123 > localhost.39443: Flags [.], ack 65, win 683, options [nop,nop,TS val 4294964894 ecr 4294964894], length 0
16:36:36.035808 IP localhost.8123 > localhost.39443: Flags [P.], seq 1:184, ack 65, win 683, options [nop,nop,TS val 4294964894 ecr 4294964894], length 183  --> HTTP Response
16:36:36.035965 IP localhost.8123 > localhost.39443: Flags [F.], seq 184, ack 65, win 683, options [nop,nop,TS val 4294964894 ecr 4294964894], length 0
16:36:36.036082 IP localhost.39443 > localhost.8123: Flags [.], ack 184, win 700, options [nop,nop,TS val 4294964894 ecr 4294964894], length 0
16:36:36.036350 IP localhost.39443 > localhost.8123: Flags [F.], seq 65, ack 185, win 700, options [nop,nop,TS val 4294964894 ecr 4294964894], length 0
16:36:36.036462 IP localhost.8123 > localhost.39443: Flags [.], ack 66, win 683, options [nop,nop,TS val 4294964894 ecr 4294964894], length 0  --> Connection Completes

### No packets seen later - Probably SYN+Data Crashed the box ###

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Cerowrt-devel] cerowrt 3.7.1-1 released
  2013-01-02 10:03 [Cerowrt-devel] cerowrt 3.7.1-1 released Dave Taht
  2013-01-03 16:54 ` Ketan Kulkarni
@ 2013-01-03 18:50 ` dpreed
  2013-01-03 19:30   ` Dave Taht
  1 sibling, 1 reply; 8+ messages in thread
From: dpreed @ 2013-01-03 18:50 UTC (permalink / raw)
  To: Dave Taht; +Cc: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 2315 bytes --]


Perhaps this is premature, but I have installed 3.7.1-1 on my experimental router as well.  It seems to be working fine but now I'd like to start capturing monitoring data from the AQM (nfq_codel is enabled by default?) layer.
 
I'd also like to change the "WAN interface" to be one of its 2.4 Gig radios.  That's because I want to put the Cerowrt experimental router "in front of" a mobile hotspot that is operating using LTE to provide my internet access.  (Yes, I know that "in general" WLAN's need something better than nfq_codel, but in this case, it's a single device and a single hop - i.e. cable equivalent).  Alternatively, maybe I can connect the mobile hotspot to the router using USB.
 
Best way to do that?  I have not delved deep into OpenWRT/Cerowrt config files.
 
-----Original Message-----
From: "Dave Taht" <dave.taht@gmail.com>
Sent: Wednesday, January 2, 2013 5:03am
To: cerowrt-devel@lists.bufferbloat.net
Subject: [Cerowrt-devel] cerowrt 3.7.1-1 released



Two formerly back-ordered 3800s arrived yesterday!

They barely had time to power on before I reflashed them with:

http://snapon.lab.bufferbloat.net/~cero2/cerowrt/wndr/3.7.1-1/

I still regard this series as heavily development oriented and
unsuitable for general use. In particular I'd like to wait for dnsmasq
to come out of beta, fix AHCP, add a gui for the ceroshaper, etc, etc.

But: This is the first devel release I've been able to test in the
real world as a default gw in a while. So far, so good.

I have some issues with how the new network6 configuration stuff
interacts with ahcp, but aside from that... I saw upnp work for the
first time... saw the ula auto code work... analyzed some dropbox and
netflix traffic, ran a couple android boxes through it, fiddled with
nfq_codel...

some notes:

+ resync with openwrt head
+ update to Linux 3.7.1 with unaligned patches from robert bradley
+ A QFQ+ update
+ mildly improved nfq_codel
- Missing cups support (didn't compile
- no ipv6 npt yet

Merry New Year!

-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html
_______________________________________________
Cerowrt-devel mailing list
Cerowrt-devel@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/cerowrt-devel

[-- Attachment #2: Type: text/html, Size: 2895 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Cerowrt-devel] cerowrt 3.7.1-1 released
  2013-01-03 18:50 ` dpreed
@ 2013-01-03 19:30   ` Dave Taht
  2013-01-03 19:44     ` dpreed
  0 siblings, 1 reply; 8+ messages in thread
From: Dave Taht @ 2013-01-03 19:30 UTC (permalink / raw)
  To: dpreed; +Cc: cerowrt-devel

On Thu, Jan 3, 2013 at 10:50 AM,  <dpreed@reed.com> wrote:
> Perhaps this is premature, but I have installed 3.7.1-1 on my experimental

I'm happy with 3.7.1 from a reliability perspective.

I've got 8 routers deployed on it now for testing, no crashes, good
performance, I'm happy.

Still need some features to land in iptables and gui work, and dnsmasq
to get out of beta and I'd like to finish up simple_qos to become
ceroshaper...

etc...

but go for it!

> router as well.  It seems to be working fine but now I'd like to start
> capturing monitoring data from the AQM (nfq_codel is enabled by default?)
> layer.
>
>
>
> I'd also like to change the "WAN interface" to be one of its 2.4 Gig radios.
> That's because I want to put the Cerowrt experimental router "in front of" a
> mobile hotspot that is operating using LTE to provide my internet access.
> (Yes, I know that "in general" WLAN's need something better than nfq_codel,

In this case nfq_codel is on ALL 4 wifi queues, so you will need to
parse those. Also the debloat script modifies the size of those queues
significantly vs a vs a default openwrt setup.

Also I disable ecn on at least one queue...

> but in this case, it's a single device and a single hop - i.e. cable
> equivalent).  Alternatively, maybe I can connect the mobile hotspot to the
> router using USB.
>
>
>
> Best way to do that?  I have not delved deep into OpenWRT/Cerowrt config
> files.

Well, I'm a command line guy, but you can do all this via the gui if
you do it all in one go. However:

In /etc/config/firewall:

Change the ge00 entry to the wifi device you are going to use - this
will turn on nat for that device.

Replace the wifi interface with ge00 on the other entries in the firewall.

In /etc/quagga/babeld.conf for the wifi device you are going to use.
Enable it for ge00 if you are going to use that for something.

Assuming you are using dhcp on your wifi...

in /etc/config/network

...Basically swap the ge00 and wifi entries...

in /etc/config/wireless

Enable "sta" mode for the wifi interface you are going to use. (mildly
easier to get this right via the gui)

in /etc/config/dhcp

disable dhcp service on the wifi interface you are going to use

cross fingers, make a small blood sacrifice to Murphy, reboot.

I note that both vi and zile (emacs) are installed from a command line
perspective.

...

As for the usb approach, I think usb-net is built, but have not tried
it recently. There used to be support for several 3g usb-modems, in
fact, installable via opkg.

>
>
>
> -----Original Message-----
> From: "Dave Taht" <dave.taht@gmail.com>
> Sent: Wednesday, January 2, 2013 5:03am
> To: cerowrt-devel@lists.bufferbloat.net
> Subject: [Cerowrt-devel] cerowrt 3.7.1-1 released
>
> Two formerly back-ordered 3800s arrived yesterday!
>
> They barely had time to power on before I reflashed them with:
>
> http://snapon.lab.bufferbloat.net/~cero2/cerowrt/wndr/3.7.1-1/
>
> I still regard this series as heavily development oriented and
> unsuitable for general use. In particular I'd like to wait for dnsmasq
> to come out of beta, fix AHCP, add a gui for the ceroshaper, etc, etc.
>
> But: This is the first devel release I've been able to test in the
> real world as a default gw in a while. So far, so good.
>
> I have some issues with how the new network6 configuration stuff
> interacts with ahcp, but aside from that... I saw upnp work for the
> first time... saw the ula auto code work... analyzed some dropbox and
> netflix traffic, ran a couple android boxes through it, fiddled with
> nfq_codel...
>
> some notes:
>
> + resync with openwrt head
> + update to Linux 3.7.1 with unaligned patches from robert bradley
> + A QFQ+ update
> + mildly improved nfq_codel
> - Missing cups support (didn't compile
> - no ipv6 npt yet
>
> Merry New Year!
>
> --
> Dave Täht
>
> Fixing bufferbloat with cerowrt:
> http://www.teklibre.com/cerowrt/subscribe.html
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel



-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Cerowrt-devel] cerowrt 3.7.1-1 released
  2013-01-03 19:30   ` Dave Taht
@ 2013-01-03 19:44     ` dpreed
  2013-01-03 20:02       ` Dave Taht
  0 siblings, 1 reply; 8+ messages in thread
From: dpreed @ 2013-01-03 19:44 UTC (permalink / raw)
  To: Dave Taht; +Cc: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 4804 bytes --]


I'm fine with the command line approach....  thanks!
 
(is there anything special about how to run the "debloat" script? I assume it is a package that I download), but you can confirm that).
 
And which queue should have ecn disabled?
 
-----Original Message-----
From: "Dave Taht" <dave.taht@gmail.com>
Sent: Thursday, January 3, 2013 2:30pm
To: dpreed@reed.com
Cc: cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] cerowrt 3.7.1-1 released



On Thu, Jan 3, 2013 at 10:50 AM,  <dpreed@reed.com> wrote:
> Perhaps this is premature, but I have installed 3.7.1-1 on my experimental

I'm happy with 3.7.1 from a reliability perspective.

I've got 8 routers deployed on it now for testing, no crashes, good
performance, I'm happy.

Still need some features to land in iptables and gui work, and dnsmasq
to get out of beta and I'd like to finish up simple_qos to become
ceroshaper...

etc...

but go for it!

> router as well.  It seems to be working fine but now I'd like to start
> capturing monitoring data from the AQM (nfq_codel is enabled by default?)
> layer.
>
>
>
> I'd also like to change the "WAN interface" to be one of its 2.4 Gig radios.
> That's because I want to put the Cerowrt experimental router "in front of" a
> mobile hotspot that is operating using LTE to provide my internet access.
> (Yes, I know that "in general" WLAN's need something better than nfq_codel,

In this case nfq_codel is on ALL 4 wifi queues, so you will need to
parse those. Also the debloat script modifies the size of those queues
significantly vs a vs a default openwrt setup.

Also I disable ecn on at least one queue...

> but in this case, it's a single device and a single hop - i.e. cable
> equivalent).  Alternatively, maybe I can connect the mobile hotspot to the
> router using USB.
>
>
>
> Best way to do that?  I have not delved deep into OpenWRT/Cerowrt config
> files.

Well, I'm a command line guy, but you can do all this via the gui if
you do it all in one go. However:

In /etc/config/firewall:

Change the ge00 entry to the wifi device you are going to use - this
will turn on nat for that device.

Replace the wifi interface with ge00 on the other entries in the firewall.

In /etc/quagga/babeld.conf for the wifi device you are going to use.
Enable it for ge00 if you are going to use that for something.

Assuming you are using dhcp on your wifi...

in /etc/config/network

...Basically swap the ge00 and wifi entries...

in /etc/config/wireless

Enable "sta" mode for the wifi interface you are going to use. (mildly
easier to get this right via the gui)

in /etc/config/dhcp

disable dhcp service on the wifi interface you are going to use

cross fingers, make a small blood sacrifice to Murphy, reboot.

I note that both vi and zile (emacs) are installed from a command line
perspective.

...

As for the usb approach, I think usb-net is built, but have not tried
it recently. There used to be support for several 3g usb-modems, in
fact, installable via opkg.

>
>
>
> -----Original Message-----
> From: "Dave Taht" <dave.taht@gmail.com>
> Sent: Wednesday, January 2, 2013 5:03am
> To: cerowrt-devel@lists.bufferbloat.net
> Subject: [Cerowrt-devel] cerowrt 3.7.1-1 released
>
> Two formerly back-ordered 3800s arrived yesterday!
>
> They barely had time to power on before I reflashed them with:
>
> http://snapon.lab.bufferbloat.net/~cero2/cerowrt/wndr/3.7.1-1/
>
> I still regard this series as heavily development oriented and
> unsuitable for general use. In particular I'd like to wait for dnsmasq
> to come out of beta, fix AHCP, add a gui for the ceroshaper, etc, etc.
>
> But: This is the first devel release I've been able to test in the
> real world as a default gw in a while. So far, so good.
>
> I have some issues with how the new network6 configuration stuff
> interacts with ahcp, but aside from that... I saw upnp work for the
> first time... saw the ula auto code work... analyzed some dropbox and
> netflix traffic, ran a couple android boxes through it, fiddled with
> nfq_codel...
>
> some notes:
>
> + resync with openwrt head
> + update to Linux 3.7.1 with unaligned patches from robert bradley
> + A QFQ+ update
> + mildly improved nfq_codel
> - Missing cups support (didn't compile
> - no ipv6 npt yet
>
> Merry New Year!
>
> --
> Dave Täht
>
> Fixing bufferbloat with cerowrt:
> http://www.teklibre.com/cerowrt/subscribe.html
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel



-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

[-- Attachment #2: Type: text/html, Size: 5973 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Cerowrt-devel] cerowrt 3.7.1-1 released
  2013-01-03 19:44     ` dpreed
@ 2013-01-03 20:02       ` Dave Taht
  2013-01-03 23:47         ` dpreed
  0 siblings, 1 reply; 8+ messages in thread
From: Dave Taht @ 2013-01-03 20:02 UTC (permalink / raw)
  To: dpreed; +Cc: cerowrt-devel

On Thu, Jan 3, 2013 at 11:44 AM,  <dpreed@reed.com> wrote:
> I'm fine with the command line approach....  thanks!
>
>
>
> (is there anything special about how to run the "debloat" script? I assume
> it is a package that I download), but you can confirm that).

debloat runs on both std ubuntu/debian systems and openwrt and turns
off offloads via ethtool, and trims down

On ubuntu...

It is intended to run out of /etc/network/ifup.d, and as such does not
take command line arguments but environmental parameters.

e.g.

IFACE=wlan1 QMODEL=fq_codel debloat

On openwrt/cerowrt it runs out of /etc/hotplug.d/iface/00-debloat

There are tons of QMODEL options, see the bottommost portion of
"debloat" for the callbacks.


There are various options, like QDEBUG=1, which dumps the commands fed
to tc to stdout and a lot of bad-out-of-date documentation inside it.
It started life as a wrapper around qfq and has grown rather
embarrassingly bloated over time.

One major bug is that it does not detect bridged interfaces presently.

The simple_qos.sh script relies on it to set the tricky parameters
that it overrides.

> And which queue should have ecn disabled?

in the simple_qos.sh script I have been disabling ecn on egress
universally. It's on on ingress.

Note that this script is intended for a rate limited ethernet device, not wifi.

Of late, for wifi, I have been disabling ecn on wifi on the vo queue
and the background queue. There are various variants of the debloat
script (for wifi, ethernet, and various variants of codel, Xfq_codel,
and QFQ) in play at the moment.


>
>
>
> -----Original Message-----
> From: "Dave Taht" <dave.taht@gmail.com>
> Sent: Thursday, January 3, 2013 2:30pm
> To: dpreed@reed.com
> Cc: cerowrt-devel@lists.bufferbloat.net
> Subject: Re: [Cerowrt-devel] cerowrt 3.7.1-1 released
>
> On Thu, Jan 3, 2013 at 10:50 AM, <dpreed@reed.com> wrote:
>> Perhaps this is premature, but I have installed 3.7.1-1 on my experimental
>
> I'm happy with 3.7.1 from a reliability perspective.
>
> I've got 8 routers deployed on it now for testing, no crashes, good
> performance, I'm happy.
>
> Still need some features to land in iptables and gui work, and dnsmasq
> to get out of beta and I'd like to finish up simple_qos to become
> ceroshaper...
>
> etc...
>
> but go for it!
>
>> router as well. It seems to be working fine but now I'd like to start
>> capturing monitoring data from the AQM (nfq_codel is enabled by default?)
>> layer.
>>
>>
>>
>> I'd also like to change the "WAN interface" to be one of its 2.4 Gig
>> radios.
>> That's because I want to put the Cerowrt experimental router "in front of"
>> a
>> mobile hotspot that is operating using LTE to provide my internet access.
>> (Yes, I know that "in general" WLAN's need something better than
>> nfq_codel,
>
> In this case nfq_codel is on ALL 4 wifi queues, so you will need to
> parse those. Also the debloat script modifies the size of those queues
> significantly vs a vs a default openwrt setup.
>
> Also I disable ecn on at least one queue...
>
>> but in this case, it's a single device and a single hop - i.e. cable
>> equivalent). Alternatively, maybe I can connect the mobile hotspot to the
>> router using USB.
>>
>>
>>
>> Best way to do that? I have not delved deep into OpenWRT/Cerowrt config
>> files.
>
> Well, I'm a command line guy, but you can do all this via the gui if
> you do it all in one go. However:
>
> In /etc/config/firewall:
>
> Change the ge00 entry to the wifi device you are going to use - this
> will turn on nat for that device.
>
> Replace the wifi interface with ge00 on the other entries in the firewall.
>
> In /etc/quagga/babeld.conf for the wifi device you are going to use.
> Enable it for ge00 if you are going to use that for something.
>
> Assuming you are using dhcp on your wifi...
>
> in /etc/config/network
>
> ...Basically swap the ge00 and wifi entries...
>
> in /etc/config/wireless
>
> Enable "sta" mode for the wifi interface you are going to use. (mildly
> easier to get this right via the gui)
>
> in /etc/config/dhcp
>
> disable dhcp service on the wifi interface you are going to use
>
> cross fingers, make a small blood sacrifice to Murphy, reboot.
>
> I note that both vi and zile (emacs) are installed from a command line
> perspective.
>
> ...
>
> As for the usb approach, I think usb-net is built, but have not tried
> it recently. There used to be support for several 3g usb-modems, in
> fact, installable via opkg.
>
>>
>>
>>
>> -----Original Message-----
>> From: "Dave Taht" <dave.taht@gmail.com>
>> Sent: Wednesday, January 2, 2013 5:03am
>> To: cerowrt-devel@lists.bufferbloat.net
>> Subject: [Cerowrt-devel] cerowrt 3.7.1-1 released
>>
>> Two formerly back-ordered 3800s arrived yesterday!
>>
>> They barely had time to power on before I reflashed them with:
>>
>> http://snapon.lab.bufferbloat.net/~cero2/cerowrt/wndr/3.7.1-1/
>>
>> I still regard this series as heavily development oriented and
>> unsuitable for general use. In particular I'd like to wait for dnsmasq
>> to come out of beta, fix AHCP, add a gui for the ceroshaper, etc, etc.
>>
>> But: This is the first devel release I've been able to test in the
>> real world as a default gw in a while. So far, so good.
>>
>> I have some issues with how the new network6 configuration stuff
>> interacts with ahcp, but aside from that... I saw upnp work for the
>> first time... saw the ula auto code work... analyzed some dropbox and
>> netflix traffic, ran a couple android boxes through it, fiddled with
>> nfq_codel...
>>
>> some notes:
>>
>> + resync with openwrt head
>> + update to Linux 3.7.1 with unaligned patches from robert bradley
>> + A QFQ+ update
>> + mildly improved nfq_codel
>> - Missing cups support (didn't compile
>> - no ipv6 npt yet
>>
>> Merry New Year!
>>
>> --
>> Dave Täht
>>
>> Fixing bufferbloat with cerowrt:
>> http://www.teklibre.com/cerowrt/subscribe.html
>> _______________________________________________
>> Cerowrt-devel mailing list
>> Cerowrt-devel@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>
>
>
> --
> Dave Täht
>
> Fixing bufferbloat with cerowrt:
> http://www.teklibre.com/cerowrt/subscribe.html



-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Cerowrt-devel] cerowrt 3.7.1-1 released
  2013-01-03 20:02       ` Dave Taht
@ 2013-01-03 23:47         ` dpreed
  2013-01-04  0:31           ` Dave Taht
  0 siblings, 1 reply; 8+ messages in thread
From: dpreed @ 2013-01-03 23:47 UTC (permalink / raw)
  To: Dave Taht; +Cc: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 6913 bytes --]


In 3.7.1-1, there seems to be no package versions of kmod-usb-net-* in the packages listed from snapon.
 
That would be a nice to have feature.   How hard is it to get that?
 
-----Original Message-----
From: "Dave Taht" <dave.taht@gmail.com>
Sent: Thursday, January 3, 2013 3:02pm
To: dpreed@reed.com
Cc: cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] cerowrt 3.7.1-1 released



On Thu, Jan 3, 2013 at 11:44 AM,  <dpreed@reed.com> wrote:
> I'm fine with the command line approach....  thanks!
>
>
>
> (is there anything special about how to run the "debloat" script? I assume
> it is a package that I download), but you can confirm that).

debloat runs on both std ubuntu/debian systems and openwrt and turns
off offloads via ethtool, and trims down

On ubuntu...

It is intended to run out of /etc/network/ifup.d, and as such does not
take command line arguments but environmental parameters.

e.g.

IFACE=wlan1 QMODEL=fq_codel debloat

On openwrt/cerowrt it runs out of /etc/hotplug.d/iface/00-debloat

There are tons of QMODEL options, see the bottommost portion of
"debloat" for the callbacks.


There are various options, like QDEBUG=1, which dumps the commands fed
to tc to stdout and a lot of bad-out-of-date documentation inside it.
It started life as a wrapper around qfq and has grown rather
embarrassingly bloated over time.

One major bug is that it does not detect bridged interfaces presently.

The simple_qos.sh script relies on it to set the tricky parameters
that it overrides.

> And which queue should have ecn disabled?

in the simple_qos.sh script I have been disabling ecn on egress
universally. It's on on ingress.

Note that this script is intended for a rate limited ethernet device, not wifi.

Of late, for wifi, I have been disabling ecn on wifi on the vo queue
and the background queue. There are various variants of the debloat
script (for wifi, ethernet, and various variants of codel, Xfq_codel,
and QFQ) in play at the moment.


>
>
>
> -----Original Message-----
> From: "Dave Taht" <dave.taht@gmail.com>
> Sent: Thursday, January 3, 2013 2:30pm
> To: dpreed@reed.com
> Cc: cerowrt-devel@lists.bufferbloat.net
> Subject: Re: [Cerowrt-devel] cerowrt 3.7.1-1 released
>
> On Thu, Jan 3, 2013 at 10:50 AM, <dpreed@reed.com> wrote:
>> Perhaps this is premature, but I have installed 3.7.1-1 on my experimental
>
> I'm happy with 3.7.1 from a reliability perspective.
>
> I've got 8 routers deployed on it now for testing, no crashes, good
> performance, I'm happy.
>
> Still need some features to land in iptables and gui work, and dnsmasq
> to get out of beta and I'd like to finish up simple_qos to become
> ceroshaper...
>
> etc...
>
> but go for it!
>
>> router as well. It seems to be working fine but now I'd like to start
>> capturing monitoring data from the AQM (nfq_codel is enabled by default?)
>> layer.
>>
>>
>>
>> I'd also like to change the "WAN interface" to be one of its 2.4 Gig
>> radios.
>> That's because I want to put the Cerowrt experimental router "in front of"
>> a
>> mobile hotspot that is operating using LTE to provide my internet access.
>> (Yes, I know that "in general" WLAN's need something better than
>> nfq_codel,
>
> In this case nfq_codel is on ALL 4 wifi queues, so you will need to
> parse those. Also the debloat script modifies the size of those queues
> significantly vs a vs a default openwrt setup.
>
> Also I disable ecn on at least one queue...
>
>> but in this case, it's a single device and a single hop - i.e. cable
>> equivalent). Alternatively, maybe I can connect the mobile hotspot to the
>> router using USB.
>>
>>
>>
>> Best way to do that? I have not delved deep into OpenWRT/Cerowrt config
>> files.
>
> Well, I'm a command line guy, but you can do all this via the gui if
> you do it all in one go. However:
>
> In /etc/config/firewall:
>
> Change the ge00 entry to the wifi device you are going to use - this
> will turn on nat for that device.
>
> Replace the wifi interface with ge00 on the other entries in the firewall.
>
> In /etc/quagga/babeld.conf for the wifi device you are going to use.
> Enable it for ge00 if you are going to use that for something.
>
> Assuming you are using dhcp on your wifi...
>
> in /etc/config/network
>
> ...Basically swap the ge00 and wifi entries...
>
> in /etc/config/wireless
>
> Enable "sta" mode for the wifi interface you are going to use. (mildly
> easier to get this right via the gui)
>
> in /etc/config/dhcp
>
> disable dhcp service on the wifi interface you are going to use
>
> cross fingers, make a small blood sacrifice to Murphy, reboot.
>
> I note that both vi and zile (emacs) are installed from a command line
> perspective.
>
> ...
>
> As for the usb approach, I think usb-net is built, but have not tried
> it recently. There used to be support for several 3g usb-modems, in
> fact, installable via opkg.
>
>>
>>
>>
>> -----Original Message-----
>> From: "Dave Taht" <dave.taht@gmail.com>
>> Sent: Wednesday, January 2, 2013 5:03am
>> To: cerowrt-devel@lists.bufferbloat.net
>> Subject: [Cerowrt-devel] cerowrt 3.7.1-1 released
>>
>> Two formerly back-ordered 3800s arrived yesterday!
>>
>> They barely had time to power on before I reflashed them with:
>>
>> http://snapon.lab.bufferbloat.net/~cero2/cerowrt/wndr/3.7.1-1/
>>
>> I still regard this series as heavily development oriented and
>> unsuitable for general use. In particular I'd like to wait for dnsmasq
>> to come out of beta, fix AHCP, add a gui for the ceroshaper, etc, etc.
>>
>> But: This is the first devel release I've been able to test in the
>> real world as a default gw in a while. So far, so good.
>>
>> I have some issues with how the new network6 configuration stuff
>> interacts with ahcp, but aside from that... I saw upnp work for the
>> first time... saw the ula auto code work... analyzed some dropbox and
>> netflix traffic, ran a couple android boxes through it, fiddled with
>> nfq_codel...
>>
>> some notes:
>>
>> + resync with openwrt head
>> + update to Linux 3.7.1 with unaligned patches from robert bradley
>> + A QFQ+ update
>> + mildly improved nfq_codel
>> - Missing cups support (didn't compile
>> - no ipv6 npt yet
>>
>> Merry New Year!
>>
>> --
>> Dave Täht
>>
>> Fixing bufferbloat with cerowrt:
>> http://www.teklibre.com/cerowrt/subscribe.html
>> _______________________________________________
>> Cerowrt-devel mailing list
>> Cerowrt-devel@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>
>
>
> --
> Dave Täht
>
> Fixing bufferbloat with cerowrt:
> http://www.teklibre.com/cerowrt/subscribe.html



-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

[-- Attachment #2: Type: text/html, Size: 8784 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Cerowrt-devel] cerowrt 3.7.1-1 released
  2013-01-03 23:47         ` dpreed
@ 2013-01-04  0:31           ` Dave Taht
  0 siblings, 0 replies; 8+ messages in thread
From: Dave Taht @ 2013-01-04  0:31 UTC (permalink / raw)
  To: dpreed; +Cc: cerowrt-devel

I'll add that to the next build. Anybody else have needed kernel
modules/packages that I'm not building? I am not correctly building
the new ipv6 nat code, which I'll also fix next build...

How is upnp working out?

On Thu, Jan 3, 2013 at 3:47 PM,  <dpreed@reed.com> wrote:
> In 3.7.1-1, there seems to be no pac



-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-01-04  0:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-02 10:03 [Cerowrt-devel] cerowrt 3.7.1-1 released Dave Taht
2013-01-03 16:54 ` Ketan Kulkarni
2013-01-03 18:50 ` dpreed
2013-01-03 19:30   ` Dave Taht
2013-01-03 19:44     ` dpreed
2013-01-03 20:02       ` Dave Taht
2013-01-03 23:47         ` dpreed
2013-01-04  0:31           ` Dave Taht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox