lunedì 15 aprile 2013

How to compile an OpenWRT trunk build for Buffalo WBMR *UPDATED*

Sorry for the delay but my internet sucks a lot lately (LTE connection can be really slow.. this is Japan after all..).

This video shows what do I do when I compile a new trunk build. Hope this has been informative for you :)




IPv4 AND IPv6 (from now on IPv6 is by default supported)
DDNS
UPNP+NAT-PMP
OpenVPN 2.3.0
Samba
NTFS-3G 2013.1.13
USB mounts support (USB 2.0 with NTFS and EXT4 support)
QoS



If there is something wrong, leave a comment ;)

16 commenti:

  1. Great commitment - and good tutorial video! Thanks :)

    RispondiElimina
  2. Is there a way to save your choice of packages reliably? I know I can save the .config file produced by make menuconfig, but sometimes the config file goes out of sync when some new releases change dependencies or introduce some other change. Do you know any way to have it automatically refreshed by some make utility?

    RispondiElimina
    Risposte
    1. I don't know how to do it.
      I prefer doing step-by-step every time I compile a new build to avoid conflicts or errors.

      Elimina
  3. I'm using openwrt on my WBMR-HP-G300H.

    What read / write speeds are you getting with samba?

    RispondiElimina
    Risposte
    1. About 15MB/s read and 10MB/s write (EXT4 filesystem and a crappy USB drive).

      I usually don't write on USB drive with NTFS filesystem due to high cpu usage.

      However, with NTFS is pretty much the same speed, about 8MB/s read/write.

      Elimina
    2. Ahh, something must be screwed up with my build then.

      I see about 3.5 MB/s read, 4.5MB/s write on an usb hdd formatted ext4.

      The hdparm tool from the repos shows the hdd can do about 19MB/s.

      I'll give your build a try.

      Thanks

      Elimina
  4. Hi,

    I tried your build. I get the same speeds as with my own build.

    I've poked round a bit with samba and mount options but still stuck with slow speeds.

    Would you mind posting if your /etc/conf/samba, /etc/samba/smb.conf.template ?

    Thanks

    RispondiElimina
    Risposte
    1. Hi Jim,

      I just add this as screenshot:

      https://lh3.ggpht.com/-X20Ok5E-fxc/UOv-n2bKOUI/AAAAAAAAAqg/JNZnzzZtd_c/s1600/mountpoi.jpg

      I don't really use the usb a lot but I can tell you that I get also your read/write speed with different USB pendrive.

      Maybe it will be faster with XFS filesystem since the original firmware use it.

      Elimina
  5. Right now I am using your latest annex A build again - I wanted to try IPv6 but had uninstalled the build environment :)

    Next time you make an image, would you mind posting your resulting .config file?

    Thanks again for this blog, it's quite useful!!

    RispondiElimina
  6. Eventually, I re-installed the build environment and rebuilt OpenWrt based on your YouTube video (thanks!) with my own additions. Later releases fixed miniupnp, which now works fine as of r36689 / LuCI Trunk (svn-r9820).

    By the way, I found out how to reuse old .config files with new source trees: http://debblog.philkern.de/2012/10/how-to-maintain-openwrt-installation.html . I'm posting the same link in a comment to your video.

    One more request: as soon as I installed your latest release (R36585 Annex A), I restored my settings which made no use of IPv6, so I have no @wan6 interface now. Could you please post the relevant bits from the /etc/config/ files (at least /etc/config/network and possibly more - I'm not sure) so I can integrate IPv6 into my already configured and running system?

    Thanks again for this blog! It's been a very useful resource for me and I guess for quite a few more people.

    RispondiElimina
  7. Hello juanriccio,

    I'm afraid you have to wait 2-3 days for my config files.
    Yes, I think there are no particular problems if you integrate ipv6 to your config.
    However, I always reccomend to not restore your previous config files because something will always go wrong :)
    Yea, it's a pain in the ass to set everything from scratch...

    About you upnp bug; I can't test it because I'm not at home (japan again and this time *forever*) but it's better if you report the bug to openwrt rather than me.

    RispondiElimina
  8. Hello,
    it's allright, thanks a lot :)

    Restoring previous (make) config files in some cases is important; OK, not for me, it's just that I'm a bit of a distracted guy. When I choose packages by hand, I never remember what was included exactly, and I have to build quite a few times before getting it right so that everything works as it did using the same (router) config files.

    About the miniupnp bug, I wasn't actually reporting the bug - which has been fixed in the meantime - as much as warning users who downloaded your build. No problem was visible on the web interface (except for entries in the system log), but no ports ever got opened.

    RispondiElimina
  9. Hello Giuseppe, just a reminder so you publish the relevant parts of /etc/config/{network,whatever_other_files_are_needed} so I can integrate IPv6 into my system :)

    RispondiElimina
    Risposte
    1. Hello Juan,

      I totally forgot about you, ww.
      Good thing you posted here, again.
      Today I'll post it.(10:00am Italy)

      Elimina
    2. https://docs.google.com/file/d/0B1Kk4ptxk4eeclh2RTlSanpOX1U/edit?usp=sharing

      Should be enough..

      Elimina
  10. Great, thanks! I'll check these files over the weekend and will get back to you here.

    RispondiElimina