Coder Social home page Coder Social logo

openwrt-netgear-dm200-bridge's Introduction

Netgear DM200 Transparent ADSL/VDSL Bridge

Files for OpenWRT Image Builder, pre-configured for UK ISPs.

This firmware when built and flashed to the Netgear DM200, will make it operate in a transparent bridge mode, where it will auto-configure to either ADSL or VDSL, depending on what is detected on the line.

Networking Setup

The internet connection from the ISP is always bridged directly to the ethernet port, untagged (you don't need to specify VLAN 101 for FTTC, this is handled internally), allowing you to do PPPoE or just DHCP directly on your ethernet router, depending on the connection type from your ISP.

Management Interface (VLAN 2)

As well as the connection bridge, we also expose a management network on VLAN 2, allowing you to access connection status, or manage the modem (SSH, Luci, firmware flash, etc).

Modem network settings for VLAN 2 :

IP Address:            172.16.2.250
Network Mask:          255.255.255.0

Expected router IP:    172.16.2.254

Services exposed:

SSH (port 22):               [email protected]

Web:
    Status Overview page:    http://172.16.2.250/
    Status JSON feed:        http://172.16.2.250/cgi-bin/luci/a1comms/status/json
    Luci Web Admin Panel:    http://172.16.2.250/cgi-bin/luci

Usage & Build

Building

To build from these files, you'll need to copy everything from this repo into your extracted image builder folder, but before you build, you'll need to add the Lantiq firmware for the internal modem.

This can be obtained from: https://xdarklight.github.io/lantiq-xdsl-firmware-info/

The version you are looking for us 5.7.B.5.0.7-5.7.5.4.0.1, which should give you the file dsl_vr9_firmware_xdsl-05.07.0B.05.00.07_05.07.05.04.00.01.bin.

Please place that file at files/lib/firmware/dsl_vr9_firmware_xdsl-05.07.0B.05.00.07_05.07.05.04.00.01.bin.

You should now be able to run ./build.sh in the root to build the images.

Flashing

To flash, you'll need to use the standard firmware upgrade methods, either for the stock firmware, or inside Luci if you've already flashed a previous version.

If flashing from the stock firmware, use the file ending in "-factory.img".

If flashing from a previous version, use the file ending "-sysupgrade.bin".

openwrt-netgear-dm200-bridge's People

Contributors

iamacarpet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openwrt-netgear-dm200-bridge's Issues

"No such file or directory" when "etc/init.d/macboot" runs

Hello !

I'm trying to build my own image with "openwrt-imagebuilder-18.06.5-lantiq-xrx200.Linux-x86_64.tar.xz".

Firmware is working fine but I have problems with the "a1comms" features, I can't see "System Info" or "xDSL Modem Status" and the "/cgi-bin/luci/a1comms/status/json" URL gives me :

/usr/lib/lua/luci/template.lua:97: Failed to execute template 'custom/status_json'.
A runtime error occurred: [string "/usr/lib/lua/luci/view/custom/status_json.h..."]:5: module 'luci.tools.status' not found:
no field package.preload['luci.tools.status']
no file './luci/tools/status.lua'
no file '/usr/share/lua/luci/tools/status.lua'
no file '/usr/share/lua/luci/tools/status/init.lua'
no file '/usr/lib/lua/luci/tools/status.lua'
no file '/usr/lib/lua/luci/tools/status/init.lua'
no file './luci/tools/status.so'
no file '/usr/lib/lua/luci/tools/status.so'
no file '/usr/lib/lua/loadall.so'
no file './luci.so'
no file '/usr/lib/lua/luci.so'
no file '/usr/lib/lua/loadall.so'
stack traceback:
[C]: in function 'require'
[string "/usr/lib/lua/luci/view/custom/status_json.h..."]:5: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function </usr/lib/lua/luci/template.lua:85>
(tail call): ?
/usr/lib/lua/luci/dispatcher.lua:913: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:440: in function </usr/lib/lua/luci/dispatcher.lua:439>

Maybe it is related to this when building :

Finalizing root filesystem...
./etc/init.d/macboot: line 6: /lib/functions/uci-defaults.sh: No such file or directory
./etc/init.d/macboot: line 7: /lib/functions/system.sh: No such file or directory
./etc/init.d/macboot: line 8: /lib/functions/lantiq.sh: No such file or directory

This is reference by the file "openwrt-netgear-dm200-bridge/files/etc/init.d/macboot".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.