Results 1 to 15 of 18

Thread: HOW TO: Get basic router functionality from the openWRT firmware

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    190
    Quote Originally Posted by d3viant View Post
    it would be good if someone could host some pre-built important ipkgs somewhere


    Path :: http://back2basic.shacknet.nu/WL700Ge/packages/
    PackageList
    Last edited by back2basic; 29-01-2007 at 15:56.

    Openwrt or Custom Firmware on asus? - http://wl700ge.hezik.nl/ - Http://wl700g.homelinux.net

    My ASUS collection: WL500gp(80GB usb-hdd - Running OpenWrt Kamikaze 7.09) | WL700gE(250GB - Running OpenWrt Kamikaze 8.09rc1)

  2. #2
    Quote Originally Posted by back2basic View Post
    I recently deleted all the packages on ubuntu, But I'm comling them agian and will share m with you on my webserver (200GB)

    Path :: http://back2basic.shacknet.nu/WL700Ge/(Still compiling please be patient )
    markc has kindly offered to host the packages also - don't worry about it if it'll take you too long to compile the ipkgs again - I already have a set on my home machine.

  3. #3
    Join Date
    Mar 2006
    Location
    Lisbon
    Posts
    5

    Smile Run it Access Point

    Hi

    Thanks for the Tutorial!

    One question If I whant to run ti as Access Point the packages that I don't need is the dnsmask and iptables isn't it?

    I should be easy to configure isn't it? I'm a little afrid of not beening able set it up.


    Thanks,
    Ricardo

  4. #4
    For a bridge/access point then you need dnsmasq and iptables installed.

    I am not sure exactly why, but iptables is needed to actually make the router route network packets. Dnsmasq is used to give out IP addresses, so I would recommend using this even if you make dnsmasq assign permanent IP addresses to MAC addresses of network cards.

  5. #5
    please help
    Part 2. Configuring the router
    Some extra packages need to be installed to enable full functionality of the router. You can compile them yourself by downloading the openWRT kamikaze source and putting M next to programs you want in the configuration(important ones listed below) - you can now find the ipkgs in a rar file here - kindly hosted by markc.

    1. Install the important ipkgs - that is, bridge, dnsmasq, iptables, the updated kernel with wifi drivers, kernel module brcm-wl.
    2. edit dnsmasq.cont as required (you need to set the fields with @@ parameters in them)


    I edit /etc/config/network bridge eth0.0 10.1.1.1
    vi /etc/dnsmasq.conf

    # filter what we send upstream
    domain-needed
    bogus-priv
    filterwin2k
    localise-queries

    # allow /etc/hosts and dhcp lookups via *.lan
    local=/lan/
    domain=lan
    expand-hosts
    resolv-file=/tmp/resolv.conf.auto

    @ifdef dhcp_enable
    dhcp-range=eth0.0,10.1.1.2,10.1.1.254,255.255.255.0,45h
    dhcp-authoritative
    dhcp-leasefile=/tmp/dhcp.leases
    @endif
    @ifdef wan_ifname
    except-interface=@@wan_interface@@
    @endif

    # use /etc/ethers for static hosts; same format as --dhcp-host
    # <hwaddr> <ipaddr>
    read-ethers

    # default gateway and dns for LAN ports
    dhcp-option=eth0.0,3,10.1.1.1,10.1.1.2
    dhcp-option=eth0.0,6,10.1.1.1,10.1.1.2



    eth0.0<> bridge (br-lan)

    root#:dnsmasq

    dnsmasq: bad option at line 13 of /etc/dnsmasq.conf
    dnsmasq: bad option at line 17 of /etc/dnsmasq.conf
    dnsmasq: bad option at line 18 of /etc/dnsmasq.conf
    dnsmasq: bad option at line 20 of /etc/dnsmasq.conf
    dnsmasq: failed to create listening socket: Address already in use

    even reboot takes no effect


  6. #6
    Quote Originally Posted by Amlet1 View Post
    please help
    Part 2. Configuring the router
    Some extra packages need to be installed to enable full functionality of the router. You can compile them yourself by downloading the openWRT kamikaze source and putting M next to programs you want in the configuration(important ones listed below) - you can now find the ipkgs in a rar file here - kindly hosted by markc.

    1. Install the important ipkgs - that is, bridge, dnsmasq, iptables, the updated kernel with wifi drivers, kernel module brcm-wl.
    2. edit dnsmasq.cont as required (you need to set the fields with @@ parameters in them)


    I edit /etc/config/network bridge eth0.0 10.1.1.1
    vi /etc/dnsmasq.conf

    # filter what we send upstream
    domain-needed
    bogus-priv
    filterwin2k
    localise-queries

    # allow /etc/hosts and dhcp lookups via *.lan
    local=/lan/
    domain=lan
    expand-hosts
    resolv-file=/tmp/resolv.conf.auto

    @ifdef dhcp_enable
    dhcp-range=eth0.0,10.1.1.2,10.1.1.254,255.255.255.0,45h
    dhcp-authoritative
    dhcp-leasefile=/tmp/dhcp.leases
    @endif
    @ifdef wan_ifname
    except-interface=@@wan_interface@@
    @endif

    # use /etc/ethers for static hosts; same format as --dhcp-host
    # <hwaddr> <ipaddr>
    read-ethers

    # default gateway and dns for LAN ports
    dhcp-option=eth0.0,3,10.1.1.1,10.1.1.2
    dhcp-option=eth0.0,6,10.1.1.1,10.1.1.2



    eth0.0<> bridge (br-lan)

    root#:dnsmasq

    dnsmasq: bad option at line 13 of /etc/dnsmasq.conf
    dnsmasq: bad option at line 17 of /etc/dnsmasq.conf
    dnsmasq: bad option at line 18 of /etc/dnsmasq.conf
    dnsmasq: bad option at line 20 of /etc/dnsmasq.conf
    dnsmasq: failed to create listening socket: Address already in use

    even reboot takes no effect

    try to chage your eth0.0 to br-lan that on your config

  7. #7
    Quote Originally Posted by hmantsao View Post
    try to chage your eth0.0 to br-lan that on your config
    I change to br-lan.Not work.

Similar Threads

  1. Firmware upgrading HOWTO
    By Styno in forum WL-500g/WL-500gx Tutorials
    Replies: 6
    Last Post: 30-07-2008, 21:00
  2. Replies: 0
    Last Post: 24-01-2007, 02:54
  3. How-to: updating the firmware (need comments)
    By GerardNL in forum WL-700g Tutorials
    Replies: 13
    Last Post: 25-09-2006, 07:25
  4. Completely new WL700gE router crashed after firmware update - plz help!
    By ClaudeX in forum WL-700g Firmware Discussion
    Replies: 4
    Last Post: 20-07-2006, 00:03
  5. WL700GE openwrt or Oleg firmware
    By lewislin in forum WL-700g Q&A
    Replies: 7
    Last Post: 30-06-2006, 16:50

Tags for this Thread

Posting Permissions

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