Not Quite [Solved] compiling dnsmasq with tftpd and logging

Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions
Goto page Previous  1, 2
Author Message
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1555
Location: Zwolle

PostPosted: Sun Sep 29, 2013 21:53    Post subject: Reply with quote
For the E3000: use OTRW2 and install tftp-hpa, make a xinetd.d entry and restart xinetd. Take care that it cannot send big files, but it works well with smaller files.
Code:
#
# ftp://ftp.kernel.org/pub/software/network/tftp/
#
service tftp
{
       flags            = REUSE
       socket_type      = dgram
       protocol         = udp
       instances        = 30
       wait             = yes
       user             = root
       server           = /opt/sbin/in.tftpd
       server_args   = -4 -B 1468 -s /opt/tftpboot
       cps      = 100 2
       log_on_success   = HOST PID
       log_on_failure   = HOST
       disable          = no
}

DNSMasq options:

dhcp-boot=pxelinux.0,routername,192.168.1.1

_________________
2 times APU2 Opnsense 21.1 with Sensei

2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)

3 times Asus RT-N16 shelved

E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)

3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)


Sponsor
tech128
DD-WRT Novice


Joined: 13 Aug 2009
Posts: 10

PostPosted: Wed May 07, 2014 3:38    Post subject: Reply with quote
FYI,

I've compiled the latest dnsmasq for mipsel routers with tftp server support here:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=260962

I have tested it with a wireless network bridge and it works well.

Not quite sure why you guys are having such a hard time compiling it.

All you need to do is get buildroot and make menuconfig

Then fill out the details (which can get kind of annoying)

You need to have large file support enabled or dnsmasq won't build.

You also need to link it statically because it behaved oddly when I tried to use dynamic linking. I'm sure with enough time I could figure that out, but it only adds 100k extra size, so I didn't bother.

Also, if any maintainer reads this, please change the toolchains filename so it is current-toolchains-x86_64.tar.bz2 instead of current-toolchains.tar.bz2

Because a lot of people still only have 32bit capable machines.

The current docs hardly mention it, and if you're speed reading through the docs to grab the toolchain, it is very easy to miss.

That's why I prefer using buildroot to make a mips cross compiler. It would be nice if that is mentioned in the docs whenever someone gets a chance to update it.
MrFidget
DD-WRT User


Joined: 15 Jul 2010
Posts: 378

PostPosted: Tue Nov 11, 2014 10:43    Post subject: Reply with quote
Cheers for the updates.

I've been working on other stuff. Like moving house, kicking off some extra business and raising a 4 year old.

Its something I still need. What I did worked, but didn't quite work perfectly.

I think it will be something I'll look back at sometime before the end of the year.
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1555
Location: Zwolle

PostPosted: Tue Nov 11, 2014 15:28    Post subject: Reply with quote
There is an easy way: rip dnsmasq from Asuswrt Merlin with the firmware mod kit and hope it works.
_________________
2 times APU2 Opnsense 21.1 with Sensei

2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)

3 times Asus RT-N16 shelved

E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)

3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)


Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum