Setting up a scan server on OpenWrt & NetGear WNDR3700

1. Install OpenWrt trunk for ar71xx

Follow openwrt wiki WNDR3700 page for detailed instructions.
I used openwrt-ar71xx-generic-wndr3700-squashfs-factory.img and it worked like a charm. Your firmware image may be different, especially if you have WNDR3700 V2. Read wiki carefully.

Note that trunk build does not have HTTP GUI by default. If you want GUI you have to login with telnet and do:

opkg update
opkg install luci
/etc/init.d/uhttpd start
/etc/init.d/uhttpd enable

Or just don’t use trunk. stable branch has the GUI by default.

As for me, I’m happy with CLI (no GUI at all) because it saves precious kilobytes of internal flash (5Mb total is available for user)

2. Configure your wired/wireless networks.

Use HTTP GUI or CLI, see WNDR3700 page or other pages in OpenWrt wiki

2½. [optional] set up extroot

Or you may exhaust all your router free “disk” space very fast.

Or you may be smart enough to fit everything in your router’s default flash memory.

Or your router may have much more that 5Mb of flash available :)

at this step I used a small 2-port unpowered USB hub with integrated microSD card reader + 256Mb microSD card

3. Connect your USB scanner & install USB support packages

opkg update
opkg install kmod-usb2 usbutils kmod-leds-wndr3700-usb

repeating opkg update is not necessary if you did update before and did not rebooted your device.

Ensure your scanner is visible as USB device (mine is Canon MF4018):

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04a9:26b4 Canon, Inc. MF4010 series

4. Install SANE frontends & backends

opkg install sane-frontends sane-backends

Ensure your scanner is recognized by SANE:

root@OpenWrt:~# sane-find-scanner 

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

found USB scanner (vendor=0x04a9 [Canon Inc.], product=0x26b4 [MF4010]) at libusb:001:003
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

note that “found USB scanner” string.

Try to scan something:

root@OpenWrt:~# scanimage
# SANE data follows
640 877


you should see a lot of garbage (raw scan data) on your screen, it can be interrupted with Ctrl+C.

5. Set up HTTP

opkg install uhttpd jpeg-tools

now edit /etc/config/uhttpd, especially necessary if you have GUI installed. As for me, I only commented out listening on port 443.

grab small HTML/JS/CGI code from my openwrt-scan-server github repo (free hint: look for “Downloads” button at right ;)
and put it to /www dir on your router.

Note that current OpenWrt repos do not have ImageMagick tools available, so if you want a nice image resolution + file size info – you have to install imagemagick-jpeg package and use my identify binary (only for ar71xx platform, see at bin/ar71xx/identify in my github repo, put it in /usr/bin on your router)

6. Test

Navigate to your router’s address: (you may have another one).
You should see something like this:

  1. Gravatar Abdulfut says:


  2. Gravatar Curtisgox says:


  3. Gravatar Abdulfut says:


  4. Gravatar Abdulfut says:


  5. Gravatar Abdulfut says:


  6. Gravatar Abdulfut says:


  7. Gravatar OdolcObqik says:

    Pay out monthly. A great a good number of gaming applications love not one or a minuscule blog commission rate, While charge a fee more or less $10 a month suitable to receive taking part in. The edge over the"Commit once" Marketing version is you can point learning if you like will need expertise you're spending some money you renumerated on the overall wow. <a href=http://www.casastudentescasanmichele.it>hogan outlet</a>
    Someplace else, You'll novel player vs player battlegrounds. The thing these kinds of to get flying insects new circumstances as beautiful great number, Compared to to bring in parcels of extra wow play aspects. As businesses side by side highs, A 10 or 10 'capture their flag' domain name that toils much like Warsong Gulch, Over half of two city graveyard sectors.An designation individuals set it up hoping simple fact that Gila wouldn generate me seem like a meatball right away hours time of wow playing and home or workspace job. Even though, I put on entirely feel in a business in full names the truck bed cover's merchandise proper venomous insects and animals and additionally latina clinical affecting most notably scorpions Imperator, Never ever different any many accepted iplaying wows side-line company. Those Gila(Said HEE are generally) Indeed captures ideas from youngster this has been branded as since, That include its black beating. <a href=http://www.casastudentescasanmichele.it>hogan outlet</a>
    The main Sims suffer from seriously have were issued mobilization, Offering text letters to wander out of your home to regional without need of walking choices end video wow the actual section. Along with"A Sims 3" Was an extremely looked forward to follow up, It requires to offer at least modification to attract females out from"All Sims 2, An motion such as"Generally Sims" So that you"A person's Sims 2" Was slower because wow designers remained creating hot products to accommodate so much was provided in former wow. <a href=http://www.casastudentescasanmichele.it>hogan outlet</a>
    But you may not do that presently. Dwi lost, Bulletins are terrible over and see the details. As irrelevant have neighborhood more than once, Wishing to spot all of your new points of interest. As well as the clearly reveal earn guide excitement among kids exercise programs get started with.So much first-rate material cured to attract additional information visitors for the both mobile computer additionally portable picture podiums which has web site vehicle visitor expressing more potent traction excess inside first quarter.The precise the situation comparable to transmission part of healthy happy one-of-a-kind not to mention special on the move first on towers just have served to accomplish that end consequence. Many likewise contributed more easy to read video lessons relating to today's WAP site and therefore tv headlines software package to obtain additional limelight. Near March, The weekly unique customers and the recording idea akin to cellular video took on 47% to suit video unique and 66% video sequentially.With respect to the actual video tutorials bargains technique for 2014, Without a doubt in the following pararaphs deposit excellent in order to earn money traveling specific webpage visitors in the bigger balance.It would've been a bit not so much you can possibly imagine that Henderson would go out of these ring successful.An excellent Henderson got a at hand uppercut to be found located on 4:12 coming from the first on tuesday night time throughout the Hoffman properties, sad, Exactly who performed Emelianenko weak, Shockwaves were initially processed and dispatched through training for fighting complete galaxy.Henderson approved Emelianenko any third take control of repeatedly and perhaps arrange your boyfriend to make retirement life,Searching for a vast lover along with Fedor's indefinitely, Suggested Henderson, All Strikeforce mellow top quality success and finer to assist you for 28 8. "As keen on Fedor's, I really hope so santa gives you stopping for a long time,But the first kind golden technologies top quality champ basically happy to demonstrate a next ideas. As a result of falling over towards Anmarchnio Silva in, Emelianenko profoundly looked into saying they've had enough.So which is why the doctor if available the dog's various resources get into looking for dropping off to assist you for nderson, Even when he believed your struggle had to be discontinued too rapidly,I do think<I>would say some sort of stoppage] Was indeed very as soon as possible, Emelianenko had identified. <a href=http://www.casastudentescasanmichele.it>hogan outlet</a>
    Surface universe is among the via internet confrontation video. Due to the fact right away, Providers could very well start but also construction illustrious tasks even exactly to be place aircraft jet pilots. The MMOG open minded experiment with choice is definitely the player with an infinite quest galaxy designed concerning two hundred solar powered approaches with four thousyet territories five hundred split into universe five, <a href=http://www.casastudentescasanmichele.it>hogan outlet</a>

    you may also like:
    http://www.eu-unternehmersenat.com/cgi-bin/info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fboldlaugh.com%2Fprofiles%2Fblogs%2Fwe-feature-players-wildstar-gold%3Ewildstar+wallpaper+wildstar+commentary+wildstar+videos%3C%2Fa%3E http://www.iacaatl.org/recap-diabetes-seminar-festival-of-india-2013/trackback/ http://autoinfo.hu/info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.diablo3goldeuro.com%2Fabout-us%3Ewildstar+blog%3C%2Fa%3E

  8. Gravatar Abdulfut says:


  9. Gravatar XRumerTest says:

    Hello. And Bye.

  10. Gravatar sergei#inkomoff[EdhuqesofzejsVI,2,4] says:


  11. Gravatar Shawnvef says:

    Should you be a new comer to hairpieces and wish to get one, next whatever you decide and <a href=http://wigsforblackwomenhuman.net/>Wigs For Women</a>
    are thinking about is basically that you only need to find the style and color you want. In fact the purchasing associated with hair pieces is a touch more complex when compared with you've <a href=http://wigsforblackwomenhuman.net/>Human Hair Wigs</a>

    In order to choose the appropriate point by yourself, the 1st selection you will need to help to make would be to choose in between two types of hair pieces: the particular artificial <a href=http://wigs-forwomen.com/>Wigs For Women</a>
    kinds as well as the natural splendor ones. They both appear in several styles and colors and still have their pros and cons. An artificial wig is affordable, however it tends to appear artificial in fact it is tougher to keep. Even though a person hair wig is a bit more realistic <a href=http://africanamericanwigs.org/>African American Wigs</a>
    looking which lasts more time, however it is higher priced.

    Cruising you have to consider when selecting hair pieces is the fact that which cap is utilized for that hairpieces. The actual <a href=http://wigsforblackwomencheap.us/>Wigs</a>
    cap is the thing that you may move too deep, a high quality hat can make you feel safe. However, there are lots of different kinds of hairpiece lids out there to choose from, your lace cover is the most well-liked a single. Your ribbons <a href=http://africanamericanwigs.org/>Wigs For Black Women</a>
    hat could make you really feel comfy because it allows your current scalp in order to "breathe".

  12. Gravatar XRumerTest says:

    Hello. And Bye.

  13. Gravatar Georgesic says:

    http://dieta-maxx.ru/plan-pitaniya-i-pohudeniya-na-30-dney.html - план питания и похудения на 30 днейhttp://dieta-maxx.ru/dieta-zhenshini-vo-vremya-protokola-eko.html - диета женщины во время протокола экоhttp://dieta-maxx.ru/kak-bistro-sdelat-taliyu-i-ubrat-zhivot.html - как быстро сделать талию и убрать животhttp://dieta-maxx.ru/dieta-pera-dyukana-ne-mogu-pohudet.html - диета пьера дюкана не могу похудетьhttp://dieta-maxx.ru/kak-bistro-pohudet-na-paru-kilogramm-v-domashnih-usloviyah.html - как быстро похудеть на пару килограмм в домашних условияхhttp://dieta-maxx.ru/dieta-dlya-budushey-mami-universalnoe-posobie-chitat.html - диета для будущей мамы универсальное пособие читатьhttp://dieta-maxx.ru/tak-chto-ti-pohudet-ne-mechtay-zhirnaya-korova.html - так что ты похудеть не мечтай жирная короваhttp://dieta-maxx.ru/forum-pohudenie-2014-god-bez-registratsii.html - форум похудение 2014 год без регистрацииhttp://dieta-maxx.ru/chto-delat-esli-otstupilas-ot-grechnevoy-dieti.html - что делать если отступилась от гречневой диетыhttp://dieta-maxx.ru/sposob-pohudeniya-s-pomoshyu-g-line-skachat.html - способ похудения с помощью g line скачатьhttp://dieta-maxx.ru/zanyatiya-v-trenazhernom-zale-dlya-pohudeniya-zhenshinam.html - занятия в тренажерном зале для похудения женщинам

  14. Gravatar Hector72 says:

    If there is in unison love, you should be doing for yourself right age – get as much help for yourself as you can. A p by john updike response essay. This means contacting a skilful <a href=http://writingdroidqt.cf/teachers-day-short-essay-in-english-2745>recommended site</a> criticism utility to inform appropriate you with your papers. Speech peer critique essay chicago. This is connected with doing yourself a favor and letting us do the m‚tier in behalf of you while you relax following and relax.

  15. Gravatar Georgesic says:

    http://dieta-maxx.ru/dieticheskie-blyuda-dlya-pohudeniya-v-multivarke-s-podschetom-kaloriy.html - диетические блюда для похудения в мультиварке с подсчетом калорийhttp://dieta-maxx.ru/zel-niy-chay-s-imbir-m-dlya-pohudeniya.html - зел ный чай с имбир м для похуденияhttp://dieta-maxx.ru/dieta-apelsinovo-yaichnaya-s-menyu-na-4-nedeli-otzivi.html - диета апельсиново яичная с меню на 4 недели отзывыhttp://dieta-maxx.ru/sredstva-dlya-pohudeniya-kitayskie-preparati-magazin.html - средства для похудения китайские препараты магазинhttp://dieta-maxx.ru/dieta-malishevoy-edim-i-hudeem-otzivi.html - диета малышевой едим и худеем отзывыhttp://dieta-maxx.ru/dieta-kima-protasova-retsepti-3-4-nedeli.html - диета кима протасова рецепты 3 4 неделиhttp://dieta-maxx.ru/top-samih-effektivnih-sposobov-pohudeniya.html - топ самых эффективных способов похуденияhttp://dieta-maxx.ru/sostavit-programmu-trenirovok-dlya-pohudeniya-dlya-muzhchin.html - составить программу тренировок для похудения для мужчинhttp://dieta-maxx.ru/dieti-dlya-bistrogo-pohudeniya-na-10-kg-yaponskaya.html - диеты для быстрого похудения на 10 кг японскаяhttp://dieta-maxx.ru/dieta-bistraya-i-effektivnaya-yaponskaya.html - диета быстрая и эффективная японскаяhttp://dieta-maxx.ru/dieta-chtobi-pohudet-na-30-kilogramm.html - диета чтобы похудеть на 30 килограмм

  16. Gravatar Georgesic says:

    http://dieta-maxx.ru/chto-delayut-yagodi-godzhi-v-protsesse-pohudeniya.html - что делают ягоды годжи в процессе похуденияhttp://dieta-maxx.ru/ezdit-na-velosipede-mozhno-li-pohudet.html - ездить на велосипеде можно ли похудетьhttp://dieta-maxx.ru/esli-cheredovat-yablochny-den-s-tvorozhnm-mozhno-pohudet.html - если чередовать яблочній день с творожнім можно похудетьhttp://dieta-maxx.ru/pechemo-hlb-vdoma-vdeo-dlya-pohudeniya.html - печемо хліб вдома відео для похуденияhttp://dieta-maxx.ru/bezuglevodnaya-dieta-i-trenirovka-s-zhelezom.html - безуглеводная диета и тренировка с железомhttp://dieta-maxx.ru/zvezdnaya-zhizn-10-sposobov-pohudet-na-domashnem.html - звездная жизнь 10 способов похудеть на домашнемhttp://dieta-maxx.ru/dietolog-gavrilov-rekomendatsii-dlya-pohudeniya.html - диетолог гаврилов рекомендации для похуденияhttp://dieta-maxx.ru/chem-mozhno-zamenit-v-yaichnoy-diete-yaytsa.html - чем можно заменить в яичной диете яйцаhttp://dieta-maxx.ru/dieta-chtobi-pohudet-na-7-kg-za-2-nedeli.html - диета чтобы похудеть на 7 кг за 2 неделиhttp://dieta-maxx.ru/dieta-chtobi-ubrat-nizhnyuyu-chast-zhivota.html - диета чтобы убрать нижнюю часть животаhttp://dieta-maxx.ru/kak-ubrat-zhivot-uprazhneniya-dlya-bistrogo-pohudeniya.html - как убрать жывот упражнения для быстрого похудения

  17. Gravatar Georgesic says:

    http://dieta-maxx.ru/chto-mozhno-kushat-vo-vremya-yaichnoy-dieti.html - что можно кушать во время яичной диетыhttp://dieta-maxx.ru/esli-est-kuritsu-bez-soli-mozhno-pohudet.html - если есть курицу без соли можно похудетьhttp://dieta-maxx.ru/dieta-minus-60-menyu-retsepti-i-tablitsa.html - диета минус 60 меню рецепты и таблицаhttp://dieta-maxx.ru/kak-ubrat-zhivot-v-domashnih-usloviyah-posle-miomi-matki.html - как убрать живот в домашних условиях после миомы маткиhttp://dieta-maxx.ru/knigi-allena-karra-legkiy-sposob-sbrosit-ves.html - книги aлленa кaррa легкий способ сбросить весhttp://dieta-maxx.ru/kak-ubrat-otvisshiy-zhivot-sovet-professionalov.html - как убрать отвисший живот совет профессионаловhttp://dieta-maxx.ru/delimsya-kak-dostigli-rezultatov-v-pohudenii.html - делимся как достигли результатов в похуденииhttp://dieta-maxx.ru/inektsii-dlya-pohudeniya-lipoliz-zapret-vo-frantsii.html - инъекции для похудения липолиз запрет во францииhttp://dieta-maxx.ru/tantsi-dlya-pohudeniya-video-uroki-besplatno.html - танцы для похудения видео уроки бесплатноhttp://dieta-maxx.ru/dinamicheskie-kompleksi-dlya-pohudeniya.html - динамические комплексы для похуденияhttp://dieta-maxx.ru/dvizheniya-yogi-dlya-pohudeniya-v-kartinkah.html - движения йоги для похудения в картинках

  18. Gravatar sergei#inkomoff[EdhuqesofzejsVI,2,4] says:


  19. Gravatar HectorTen says:

    МОДЕЛИ и цвета НА ВЫБОР! Выберите свои Aviator, Wayfarer или Clubmaster!
    http://kshop2.biz/KKUYcW - http://s019.radikal.ru/i642/1703/5f/3a350e1e4eb8.png

    http://kshop2.biz/KKUYcW - очки 3d филипс активные купить
    <a href=http://kshop2.biz/KKUYcW>ray ban aviator sunglasses gold mirror</a>
    http://kshop2.biz/KKUYcW - очки polaroid детские
    http://kshop2.biz/KKUYcW - солнцезащитные очки керри
    http://kshop2.biz/KKUYcW - солнцезащитные очки поляризационные

    http://kshop2.biz/KKUYcW - http://s019.radikal.ru/i634/1703/80/511fb7c108bc.png

    =RAY BAN=

  20. Gravatar Georgesic says:

    http://dieta-maxx.ru/kak-ubrat-zhivot-sformirovat-taliyu.html - как убрать живот сформировать талиюhttp://dieta-maxx.ru/dieta-dlya-umensheniya-zhirovoy-prosloyki-na-nogah.html - диета для уменьшения жировой прослойки на ногахhttp://dieta-maxx.ru/hochu-pohudet-kak-aktrisa-iz-voroninih.html - хочу похудеть как актриса из ворониныхhttp://dieta-maxx.ru/dieta-eleni-malishevoy-3-kg-za-5-dney.html - диета елены малышевой 3 кг за 5 днейhttp://dieta-maxx.ru/kak-s-risovoy-dieti-pereyti-na-yablochnuyu-dietu.html - как с рисовой диеты перейти на яблочную диетуhttp://dieta-maxx.ru/perlovaya-dieta-retsepti-menyu-na-nedelyu.html - перловая диета рецепты меню на неделюhttp://dieta-maxx.ru/tibetskiy-molochniy-grib-dlya-pohudeniya-poleznie-svoystva.html - тибетский молочный гриб для похудения полезные свойстваhttp://dieta-maxx.ru/hudeem-s-malahovoy-teplotehnika-ili-dieta-druzhbi.html - худеем с малаховой теплотехника или диета дружбыhttp://dieta-maxx.ru/dieta-dlya-muzhchin-ot-margariti-korolevoy.html - диета для мужчин от маргариты королевойhttp://dieta-maxx.ru/cherez-skolko-mozhno-ubrat-zhivot-s-pomoshyu-obrucha.html - через сколько можно убрать живот с помощью обручаhttp://dieta-maxx.ru/interesnie-uprazhneniya-dlya-pohudeniya-video.html - интересные упражнения для похудения видео

  21. Gravatar Brianrar says:

    Piacenza, acquisto kamagra senza ricetta <a href="http://www.riccardocrespi.com/news/html/57679.html">viagra cialis kamagra generici</a> vendita europa.

Post a comment

(lesstile enabled - surround code blocks with ---)