Results 1 to 1 of 1

Thread: [Howto] Install kernel modules for Oleg firmware

  1. #1

    [Howto] Install kernel modules for Oleg firmware

    You can download it and install manually from http://code.google.com/p/wl500g/downloads/list.

    The below script is for those who are not too familiar with Linux however e.g. mounting share from NAS requires inserting some module not in the firmware.

    I assume here that you use Raas images e.g. from here.

    Note: this is for firmwares from google project, not for earlier versions.

    Code:
    KVER=$(/bin/uname -r)
    DIRM=/opt/lib/modules/${KVER}
    FVER=$(cat /.version)
    case "${KVER}" in 2.6*)
      CPUV=$(sed -n '/.*MIPS.*74K.*/p' /proc/cpuinfo)
      if [ -n "${CPUV}" ]; then MVER=-MIPS32r2; else MVER=-MIPS32r1; fi
    ;;esac
    cd /mnt && rm -f modules.tar.gz  && wget -O modules.tar.gz http://wl500g.googlecode.com/files/modules-${FVER}${MVER}.tgz
    MDIR=/opt/lib/modules/${KVER}_${FVER##*-rtn-}
    mkdir -p ${MDIR}
    tar xvzf modules.tar.gz ./lib/modules/${KVER}/
    cd ./lib/modules/${KVER}/ && cp -r * ${MDIR}
    rm -rf ${DIRM}
    ln -s ${MDIR} ${DIRM}
    lsmod
    Note: You have to run the above script after every firmware upgrade as module version has to match firmware version!
    Last edited by ecaddict; 05-12-2011 at 17:26.

Similar Threads

  1. Êàê ñìåíèòü MAC-àäðåñ ðîóòåðà?
    By FilimoniC in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 338
    Last Post: 05-07-2016, 17:15
  2. WL-HDD Festplatte wird nicht mehr erkannt
    By bugmenot in forum German Discussion - Deutsch (DE)
    Replies: 6
    Last Post: 10-08-2008, 18:25
  3. Replies: 0
    Last Post: 25-01-2007, 04:25
  4. refused mount request
    By colalight890 in forum WL-500g Q&A
    Replies: 0
    Last Post: 01-12-2006, 16:03

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
  •