Skip to content
Snippets Groups Projects
  1. May 26, 2020
  2. May 25, 2020
  3. May 24, 2020
  4. May 23, 2020
  5. May 22, 2020
    • David Bauer's avatar
      ath79: add support for Enterasys WS-AP3705i · ebddc5f9
      David Bauer authored
      
      Hardware
      --------
      SoC:    Atheros AR9344
      RAM:    128M DDR2
      FLASH:  2x Macronix MX25L12845EM
              2x 16MiB SPI-NOR
      WLAN2:  Atheros AR9344 2x2 2T2R
      WLAN5:  Atheros AR9580 2x2 2T2R
      SERIAL: Cisco-RJ45 on the back (115200 8n1)
      
      Installation
      ------------
      
      The U-Boot CLI is password protected (using the same credentials as the
      OS). Default is admin/new2day.
      
      1. Download the OpenWrt initramfs-image. Place it into a TFTP server
         root directory and rename it to 1401A8C0.img. Configure the TFTP
         server to listen at 192.168.1.66/24.
      
      2. Connect the TFTP server to the access point.
      
      3. Connect to the serial console of the access point. Attach power and
         interrupt the boot procedure when prompted (bootdelay is 1 second).
      
      4. Configure the U-Boot environment for booting OpenWrt from Ram and
         flash:
      
         $ setenv boot_openwrt 'setenv bootargs; bootm 0xbf230000'
         $ setenv ramboot_openwrt 'setenv serverip 192.168.1.66;
           tftpboot 0x85000000; bootm'
         $ setenv bootcmd 'run boot_openwrt'
         $ saveenv
      
      5. Load OpenWrt into memory:
      
         $ run ramboot_openwrt
      
         Wait for the image to boot.
      
      6. Transfer the OpenWrt sysupgrade image to the device. Write the image
         to flash using sysupgrade:
      
         $ sysupgrade -n /path/to/openwrt-sysuograde.bin
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      ebddc5f9
    • David Bauer's avatar
      hostapd: add WEP as queryable build feature · a9f75101
      David Bauer authored
      
      Commit 472fd98c ("hostapd: disable support for Wired Equivalent
      Privacy by default") made support for WEP optional.
      
      Expose the WEP support to LuCi or other userspace tools using the
      existing interface. This way they are able to remove WEP from the
      available ciphers if hostapd is built without WEP support.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      a9f75101
    • Daniele Castro's avatar
      brcm63xx: add support for ADB P.DG A4001N A-000-1A1-AX · d6f66dd8
      Daniele Castro authored
      ADB P.DG A4001N A-000-1A1-AX a.k.a. Telecom Italia ADSL2+ Wi-Fi N (AGPWI)
      has the same PCB as the OpenWrt's ADB P.DG A4001N1 with LEDs connected
      to different GPIO PINs in active low configuration.
      
      OpenWrt's ADB P.DG A4001N image is made for the ADB P.DG A4001N A-000-1A1-AE.
      It has different LEDs configuration and flash size/layout
      w.r.t the ADB P.DG A4001N A-000-1A1-AX.
      
      Hardware:
      * Board ID: 96328avng
      * SoC: Broadcom BCM6328
      * RAM DDR2-800: 32 Mbyte - winbond W9725G6KB-25
      * Serial flash: 16 Mbyte - MXIC MX25L 12845EMI-10G
      * Ethernet: 4x Ethernet 10/100 baseT
      * Wifi 2.4GHz: Broadcom Corporation BCM43224/5 Wireless Network Adapter (rev 01)
      * LEDs: 2x Power, 2x ADSL, 2x Internet, 2x Wi-Fi, 2x Service
      * Buttons: 1x Reset, 1x WPS (named WiFi/LED)
      * UART: 1x TTL 115200n8, TX  NC  RX, on J5 connector (short R192 and R193)
                               NC  GND NC
      
      Installation via CFE:
      * Stock CFE has to be overwriten with one for 96328avng boards that can upload
        .bin images with no signature check (cfe-A4001N-V0000_96328avng.bin)
      * connect a serial port to the board
      * Stop the boot process after power on by pressing enter
      * set static IP 192.168.1.2 and subnet mask 255.255.255.0
      * navigate to http://192.168.1.1/
      
      
      * upload the OpenWrt image file
      
      Signed-off-by: default avatarDaniele Castro <danielecastro@hotmail.it>
      Signed-off-by: default avatarÁlvaro Fernández Rojas <noltari@gmail.com>
      d6f66dd8
    • Adrian Schmutzler's avatar
      bcm63xx: use model part of board name as variable in 01_leds · e3e17b4e
      Adrian Schmutzler authored
      
      This extracts the model part of the board name and uses it for the
      LED string identifiers in 01_leds. As this makes statements more
      generic, it will allow to merge more cases in the future.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      e3e17b4e
    • Adrian Schmutzler's avatar
      bcm63xx: replace further "ok" with "okay" in DTS files · 5a7d11fb
      Adrian Schmutzler authored
      
      While "ok" is recognized in DT parsing, only "okay" is actually
      mentioned as valid value. Replace it accordingly.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      5a7d11fb
  6. May 21, 2020
    • Hauke Mehrtens's avatar
      ath79: Do not build buffalo_whr-g301n by default · 58666101
      Hauke Mehrtens authored
      
      The squashfs partition is getting too big.
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      58666101
    • Hauke Mehrtens's avatar
      mac80211: Fix build on mpc85xx target · 04b1a11f
      Hauke Mehrtens authored
      
      This fixes the following compile error seen on the mpc85xx target:
        CC [M]  /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.o
      In file included from /builder/shared-workdir/build/staging_dir/toolchain-powerpc_8540_gcc-8.4.0_musl/include/stddef.h:17,
                       from /linux-mpc85xx_p2020/backports-5.7-rc3-1/include/uapi/linux/wireless.h:77,
                       from /linux-mpc85xx_p2020/backports-5.7-rc3-1/include/linux/wireless.h:13,
                       from /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.c:89:
      /builder/shared-workdir/build/staging_dir/toolchain-powerpc_8540_gcc-8.4.0_musl/include/bits/alltypes.h:106:15: error: conflicting types for 'ptrdiff_t'
       typedef _Addr ptrdiff_t;
                     ^~~~~~~~~
      In file included from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/types.h:4,
                       from ./include/linux/list.h:5,
                       from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/list.h:3,
                       from ./include/linux/module.h:9,
                       from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/module.h:3,
                       from /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.c:79:
      ./include/linux/types.h:65:28: note: previous declaration of 'ptrdiff_t' was here
       typedef __kernel_ptrdiff_t ptrdiff_t;
                                  ^~~~~~~~~
      scripts/Makefile.build:265: recipe for target '/linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.o' failed
      
      Fixes: 289c6324 ("mac80211: Update to version 5.7-rc3-1")
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      04b1a11f
    • Philip Prindeville's avatar
      firewall: add rule for traceroute support · de8b88ce
      Philip Prindeville authored
      
      Running your firewall's "wan" zone in REJECT zone (1) exposes the
      presence of the router, (2) depending on the sophistication of
      fingerprinting tools might identify the OS and release running on
      the firewall which then identifies known vulnerabilities with it
      and (3) perhaps most importantly of all, your firewall can be
      used in a DDoS reflection attack with spoofed traffic generating
      ICMP Unreachables or TCP RST's to overwhelm a victim or saturate
      his link.
      
      This rule, when enabled, allows traceroute to work even when the
      default input policy of the firewall for the wan zone has been
      set to DROP.
      
      Signed-off-by: default avatarPhilip Prindeville <philipp@redfish-solutions.com>
      de8b88ce
    • Hans Dedecker's avatar
      netifd: ingress/egress vlan qos mapping support · bc552584
      Hans Dedecker authored
      
      74e0222 vlandev: support setting ingress/egress QoS mappings
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      bc552584
    • Álvaro Fernández Rojas's avatar
Loading