FreeBSD on ASUS, TP-Link and D-Link routers?

Adrian Chadd adrian at freebsd.org
Sun Jul 7 05:42:06 UTC 2013


Ugh, -HEAD bloat.

Sorry, someone's going to have to help out slimming things down. I
can't take care of all of it all the time. :(



-adrian

On 6 July 2013 13:19, Nenhum_de_Nos <matheus at eternamente.info> wrote:
>
> On Wed, July 3, 2013 10:21, Adrian Chadd wrote:
>> FreeBSD runs on the TL-WR1043nd. It was my first Atheros SoC port.
>>
>> https://wiki.freebsd.org/FreeBSD/mips/TL-WR1043ND
>
> adrian,
>
> I tried and got:
>
> *** Target Done.
> *** Target              : mfsroot
> *** Deleting old file system..
> *** Creating new filesystem...
> *** Populating filesystem...
> install: /home/matheus/work/freebsd/head/src/../root/mipseb/sbin/switchctl: No such file or directory
> *** Target Done.
> *** Target              : fsimage
> *** Running makefs to build compressed image ..
> Calculated size of `/home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img': 19308544
> bytes, 1223 inodes
> Extent size set to 4096
> /home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img: 18.4MB (37712 sectors) block size
> 4096, fragment size 512
>         using 2 cylinder groups of 12.96MB, 3319 blks, 896 inodes.
> super-block backups (for fsck -b #) at:
>     32, 26584,
> Populating `/home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img'
> Image `/home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img' complete
> *** Running mkuzip to create a compressed filesystem ..
> *** Target Done.
> *** Target              : tplink
> 4093+2 records in
> 4093+1 records out
> 2096035 bytes transferred in 1.316779 secs (1591789 bytes/sec)
> [mktplinkfw] *** error: rootfs image is too big
>
> and:
>
>  ls /tftpboot/
> kernel.TP-WN1043ND              mfsroot-tl-wr1043nd.img.uzip
> kernel.TP-WN1043ND.symbols
>
> I guess this is not expected.
>
> how can I troubleshoot this ?
>
> and, can I just upload it on the tp-link firmware upload page ?
>
> Luiz said that the main issue is that I can't see the boot and solve problems if they appear (if I
> understand him right). Is this ?
>
> thanks,
>
> matheus
>
>
>> -adrian
>>
>> On 2 July 2013 04:41, Nenhum_de_Nos <matheus at eternamente.info> wrote:
>>>
>>> On Tue, July 2, 2013 02:52, Zeus Panchenko wrote:
>>>> Luiz Otavio O Souza <lists.br at gmail.com> wrote:
>>>>>
>>>>> I've successfully used TP-Link MR3220 and MR3420 this way.
>>>>>
>>>>
>>>> thanks for the point
>>>>
>>>> what I in general want from the issue is more or less "common"
>>>> necessities of small (2-10 workplaces) office
>>>>
>>>> and it includes:
>>>>
>>>> - vi
>>>> - pf
>>>> - PPPoE
>>>> - hostapd
>>>> - OpenVPN
>>>> - bsnmpd
>>>> - network utilities
>>>>   netstat, ifconfig, route, tcpdump
>>>> - some optional tools
>>>> -- mtr
>>>> -- nrpe
>>>> -- sendmail
>>>> -- tmux/screen
>>>> - anything I missed :)
>>>>
>>>> so, what are the chances to build image with these?
>>>
>>> Hi all,
>>>
>>> I've talked to Luiz some time ago, but I had no time to invest in struggling with the serial
>>> interface.
>>>
>>> As I said before, I have a 1043ND and would really like to see it running FreeBSD. Imagine this
>>> hardware running pfSense ? this would be the dlink killer ;)
>>>
>>> do I need to upload it to the hardware to tinkle with the build script ? First of all I'd like
>>> to
>>> help this way, as my shell skills are better then my coding skills :)
>>>
>>> att,
>>>
>>> matheus
>>>
>>> --
>>> We will call you Cygnus,
>>> The God of balance you shall be
>>>
>>> A: Because it messes up the order in which people normally read text.
>>> Q: Why is top-posting such a bad thing?
>>>
>>> http://en.wikipedia.org/wiki/Posting_style
>>> _______________________________________________
>>> freebsd-embedded at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded
>>> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe at freebsd.org"
>>
>
>
> --
> We will call you Cygnus,
> The God of balance you shall be
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>
> http://en.wikipedia.org/wiki/Posting_style
> _______________________________________________
> freebsd-embedded at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded
> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe at freebsd.org"


More information about the freebsd-embedded mailing list