Projet

Général

Profil

Actions

Buffalo WBMR-HP-G300H + OpenWRT

Commandé ici : http://www.monclick.fr/schede/prodotto.asp?codice=WBMR-HP-G300H (modem-routeur ADSl à 80€)

Connexion via Internet au firmware constructeur grâce à pptp

/etc/ppp/peers/buffalo:

user "aquilenet"
pty "/usr/sbin/pptp buffalo.aquilenet.fr --nolaunchpppd"
noipdefault
noauth
require-mppe

/etc/ppp/chap-secrets:

aquilenet * lemotdepasse

et pour se connecter:

pppd call buffalo

(ajouter nodetach debug pour débugger). Puis aller sur http://172.31.1.1/ , login root, pas de mot de passe, ou bien telnet 172.31.1.1

Installation DD-WRT

http://www.dd-wrt.com/site/support/router-database

WBMR-HP-G300H

télécharger Buffalo WBMR-HP-G300H: Special File for initial flashing et Buffalo WBMR-HP-G300H: Webflash image

conf réseau poste client:

ifconfig eth0 192.168.11.2 netmask 255.255.255.0
route add -net 192.168.11.0 netmask 255.255.255.0 dev eth1

Puis dans l'interface Buffalo: http://192.168.11.1 => admin/upgrade

  1. BUFFALO_TO_DD-WRT_wbmr-hp-g300h-firmware.bin
  2. wbmr-hp-g300h-webupgrade.bin

Installation OpenWRT

Build à partir du trunk: http://wiki.openwrt.org/doc/howto/buildroot.exigence

  1. Check out the code: svn co svn://svn.openwrt.org/openwrt/trunk trunk
    /!\ on 22/10/11 pending bug https://dev.openwrt.org/ticket/12279 working trunk #33530 /!\
    I make it working with Build 33530
    svn co -r 33530 svn://svn.openwrt.org/openwrt/trunk 33530
  2. cd trunk
  3. Update the feeds: ./scripts/feeds update
  4. Install the feeds: ./scripts/feeds install
  5. make package/symlinks
  6. Configure: make menuconfig
    > * Target System: Lantiq GPON/XWAY
    > * Subtarget: AR9
    > * Target Profile: WBMR - Buffalo WMBR-HP-G300H
    > * Kernel modules ----> Network Devices ----> * kmod-ltq-dsl-firmware-a-ar9 kmod-ltq-dsl-firmware-b-ar9 cf https://forum.openwrt.org/viewtopic.php?id=36007
    > * Kernel modules ----> Network Support ----> kmod-ppp
    > * Network ----> ppp ppp-mod-pppoa ppp-mod-pppoe
    > * Target Images: I use squashfs, I haven't tested jffs2
    > * You might want to enable luci (Luci/Collections/Luci) => web interface /!\ in kernel not module
    > * Enable wireless: Kernel Modules/Wireless Drivers/kmod-ath9k
    > * Enable hostapd: Network/hostapd and Network/hostapd-utils
    > * Enable SSHD / tcpdump / ping / etc...
  7. Save the config
  8. make & wait...
  9. scp bin/lantiq/openwrt-lantiq-ar9-WBMR-squashfs.image 192.168.1.1:/tmp
  10. mtd -r write /tmp/openwrt-lantiq-ar9-WBMR-squashfs.image linux
    And that's it.

Addon 30/12/12 : Build on 34940

Target System (Lantiq GPON/XWAY/SVIP)

Subtarget (XWAY)

Target Profile (Buffalo WBMR-HP-G300H (A) - WBMR)

Failsafe/Fallback mode

Boot pushing AOSS buton

http://wiki.openwrt.org/doc/howto/generic.failsafe#in.failsafe.mode

Mis à jour par sacha il y a presque 12 ans · 45 révisions