Results 1 to 1 of 1

Thread: wireless filesharing device, need help, nsmasq, hostapd,

  1. #1
    Join Date
    Aug 2012
    Beans
    5

    wireless filesharing device, need help, nsmasq, hostapd,

    I am trying to create a device that appears to be a wireless access point that will server static files to wifi users via web browser. I need to find a way to intercept and redirect DNS to itself so they will see root dirrectory of lighttpd which is running on the device.

    I can get lighttpd to server files without a problem; they can be seen at http://127.0.0.1/.

    I am also able to get hostapd to make my wireless card appear to be an access point and allow users to connect to it with the following in a hostapd.conf file:

    interface=wlan0
    driver=nl80211
    ssid=ManyFreeFiles
    channel=1

    I know what I am trying to do is possible with Ubuntu because I have tested the piratebox livecd and it works on my hardware. https://github.com/terrorbyte/PirateBoxLive.

    Unfortunately, PirateBox servers files with python, has a lot of scripts, and I do not want to use that. I will be serving 100% static content.

    Does anyone have any suggestions on how to wireless users connected to lighttpd when they connect to my accesspoint?
    Last edited by catgrepuniq; August 9th, 2012 at 06:37 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •