Harm Weites | 4 Jun 2012 23:17

Current status of TL-WR1043ND

Hi list,

back in november Adrian Chadd posted his patches to make the TL-WR1043ND
run FreeBSD, causing some interesting list-traffic. I'd like to load BSD
on the little box, but I'm left with some questions after reading the
archived messages (and I'm hoping some stuff got fixed/sorted in the
past 6 months):

- What is the status of the 4 port switch, is it seen (and usable) as a
bridge device?
- Has anyone tried doing some packetfilter stuff with it?
- Could anyone give some pointers on getting OpenSSH, bsnmpd, radvd into
the mfsroot?
- Stefan Bethke stated the image should probably be able to be loaded
using the TL-webinterface, has anyone done that?
- The scripts Adrian supplied configure a static ip on the bridge
interface, adding telnetd_enable=yes to rc.conf should start telnetd
after boot, right? (allowing one to login from a switch-connected
device, thus making it a little less neccesary to connect the serial
console)

My goal would be to have the 1043ND act as router+ap+switch, configure
some vlans, running pf, add an ipv6 tunnel, have radvd running, snmpd
for reading pf stats and using ssh for administration.

Best regards,
Harm

Adrian Chadd | 6 Jun 2012 03:05
Picon
Favicon

Re: Current status of TL-WR1043ND

Hi!

My build scripts don't use the normal rc.conf. telnetd is enabled
though. Take a read of the wiki pages:
http://code.google.com/p/freebsd-wifi-build/

Yes, the ethernet switch is supported. You should be able to use the
switch port VLAN config with what's in -HEAD.

You can add whatever you want to my build scripts to populate the mfsroot. :-)

I'm still trying to flesh out some ath(4) issues when passing
aggregate traffic; I know what's going on but it's just taking (more)
time to fix than I had allotted.

Adrian

On 4 June 2012 14:17, Harm Weites <harm@...> wrote:
> Hi list,
>
> back in november Adrian Chadd posted his patches to make the TL-WR1043ND
> run FreeBSD, causing some interesting list-traffic. I'd like to load BSD
> on the little box, but I'm left with some questions after reading the
> archived messages (and I'm hoping some stuff got fixed/sorted in the
> past 6 months):
>
> - What is the status of the 4 port switch, is it seen (and usable) as a
> bridge device?
> - Has anyone tried doing some packetfilter stuff with it?
> - Could anyone give some pointers on getting OpenSSH, bsnmpd, radvd into
(Continue reading)

Nenhum_de_Nos | 6 Jun 2012 04:51

Re: Current status of TL-WR1043ND

Adrian Chadd <adrian@...> wrote:

>Hi!
>
>My build scripts don't use the normal rc.conf. telnetd is enabled
>though. Take a read of the wiki pages:
>http://code.google.com/p/freebsd-wifi-build/
>
>Yes, the ethernet switch is supported. You should be able to use the
>switch port VLAN config with what's in -HEAD.
>
>You can add whatever you want to my build scripts to populate the
>mfsroot. :-)
>
>I'm still trying to flesh out some ath(4) issues when passing
>aggregate traffic; I know what's going on but it's just taking (more)
>time to fix than I had allotted.
>
>
>
>Adrian
>
>On 4 June 2012 14:17, Harm Weites <harm@...> wrote:
>> Hi list,
>>
>> back in november Adrian Chadd posted his patches to make the
>TL-WR1043ND
>> run FreeBSD, causing some interesting list-traffic. I'd like to load
>BSD
>> on the little box, but I'm left with some questions after reading the
(Continue reading)

grenville armitage | 6 Jun 2012 07:11
Picon
Picon
Favicon

Re: Current status of TL-WR1043ND


On 06/06/2012 12:51, Nenhum_de_Nos wrote:
	[..]
> I have the samw tp-link device and I'm willing to try it as well. The
> issue is flashing through serial cable I don't have. There's no other
> way ? The wifi is not a must for me eight now, as the switch is.
>
> Is there any place I can buy that cable ?

I've successfully used this DealExtreme cable for my WR1043ND:
http://www.dealextreme.com/p/usb-cable-for-nokia-n1200-1208-1650-2630-2670-13638

(http://gja.space4me.com/devices/wr1043nd/WR1043ND-wiring2serialport.jpeg
for pic of my serial interface -- well worth the effort to install.)

cheers,
gja

Harm Weites | 6 Jun 2012 21:47

Re: Current status of TL-WR1043ND

Adrian,

thanks for the additional information. Looking through the scripts
(again) I've now added some other tools to the image. 
Are the ath* tools needed for wifi to 'just work', or are they installed
for debug purposes? Since leaving them out frees some valuable Kbytes to
store bsnmpd :)

Could you explain a bit about the issues that you are still seeing
(regarding aggregate traffic)?

Furthermore, the OpenWrt wiki mentions roughly 250Mbit throughput for
routed traffic and you mention 50Mbit on your blog (although you still
have debug options enabled). Did you/someone else do a test without
debug options (and where do I disable debug options in your scripts)? 

Thanks.

Adrian Chadd schreef op di 05-06-2012 om 18:05 [-0700]:
> Hi!
> 
> My build scripts don't use the normal rc.conf. telnetd is enabled
> though. Take a read of the wiki pages:
> http://code.google.com/p/freebsd-wifi-build/
> 
> Yes, the ethernet switch is supported. You should be able to use the
> switch port VLAN config with what's in -HEAD.
> 
> You can add whatever you want to my build scripts to populate the mfsroot. :-)
> 
(Continue reading)

Nenhum_de_Nos | 6 Jun 2012 22:15

Re: Current status of TL-WR1043ND


On Wed, June 6, 2012 16:47, Harm Weites wrote:
> Adrian,
>
> thanks for the additional information. Looking through the scripts
> (again) I've now added some other tools to the image.
> Are the ath* tools needed for wifi to 'just work', or are they installed
> for debug purposes? Since leaving them out frees some valuable Kbytes to
> store bsnmpd :)

is possible to use the usb port to have more disk space ?

I'm thinking about buying all those stuff needed for flashing, but will research it first. My
microeletronics skills are terrible.

thanks,

matheus

> Could you explain a bit about the issues that you are still seeing
> (regarding aggregate traffic)?
>
> Furthermore, the OpenWrt wiki mentions roughly 250Mbit throughput for
> routed traffic and you mention 50Mbit on your blog (although you still
> have debug options enabled). Did you/someone else do a test without
> debug options (and where do I disable debug options in your scripts)?
>
> Thanks.
>
> Adrian Chadd schreef op di 05-06-2012 om 18:05 [-0700]:
(Continue reading)

Adrian Chadd | 11 Jun 2012 14:09
Picon
Favicon

Re: Current status of TL-WR1043ND

On 6 June 2012 12:47, Harm Weites <harm@...> wrote:
> Adrian,
>
> thanks for the additional information. Looking through the scripts
> (again) I've now added some other tools to the image.
> Are the ath* tools needed for wifi to 'just work', or are they installed
> for debug purposes? Since leaving them out frees some valuable Kbytes to
> store bsnmpd :)

The ath* tools are for debugging, yes. But believe me when I say
they're invaluable. :)

It would be better to look at how to slim down the image by adding
options to the generated 'make.conf' - eg by stripping out
kerberos/pam from the build. i haven't really put a lot of effort into
that just yet. I bet the userland can be quite significantly slimmed.

> Could you explain a bit about the issues that you are still seeing
> (regarding aggregate traffic)?

Right now I'm just debugging out of order frames and discarded frames
by the receiver. I think I've jus fixed that. Now I just need to
implement some better buffer management so higher priority traffic (eg
management) has a higher chance of having buffers available. If all
buffers are exhausted when a BAR TX needs to occur, the TX will just
fail and all traffic stops for a while. This is not a good behaviour.
:)

> Furthermore, the OpenWrt wiki mentions roughly 250Mbit throughput for
> routed traffic and you mention 50Mbit on your blog (although you still
(Continue reading)


Gmane