GithubHelp home page GithubHelp logo

debian-on-wrt1900ac-v1's Introduction

Debian Kernel for Linksys WRT1900AC V1

How to make you own kernel?

=> arch debian i386 or amd64, open a term :

  • apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc liblz4-tool kernel-package u-boot-tools
  • wget https://raw.githubusercontent.com/jbsky/Debian-On-WRT1900AC-V1/master/kernel-4.9.60/prekernel
  • wget https://raw.githubusercontent.com/jbsky/Debian-On-WRT1900AC-V1/master/kernel-4.9.60/kernel
  • wget https://raw.githubusercontent.com/jbsky/Debian-On-WRT1900AC-V1/master/menu
  • chmod +x prekernel
  • chmod +x kernel
  • chmod +x menu
  • Edit scripts to adjust vars.
  • ./prekernel
  • cd linux
  • Need to go into menu?
  • ../menu
  • Go compiling...
  • ../kernel
  • After compiling, new firmware is Firmware-WRT1900AC-V1
  • modules are in module/*

How to make you own file system?

=> arch debian i386 or amd64, open a term :

  • apt-get install debootstrap qemu-user-static arm-none-eabi*
  • wget https://raw.githubusercontent.com/jbsky/Debian-On-WRT1900AC-V1/master/fs/dofs
  • chmod +x dofs
  • Edit script to adjust vars.
  • ./dofs

How to flash?

see https://github.com/Chadster766/McWRT/wiki/Flashing-Firmware-using-a-USB-to-TTL-Cable
=> update U-Boot Env
marvell>>setenv pri_kern_size 0x2800000
marvell>>setenv alt_kern_size 0x2800000
marvell>>setenv flash_alt_image 'tftp ${default_load_addr} ${firmware_name}; nand erase ${alt_kern_addr} ${alt_kern_size};nand write ${default_load_addr} ${alt_kern_addr} ${filesize};'
marvell>>setenv flash_alt_image 'tftp ${default_load_addr} ${firmware_name}; nand erase ${alt_kern_addr} ${alt_kern_size};nand write ${default_load_addr} ${alt_kern_addr} ${filesize};'
marvell>>setenv flash_pri_image 'tftp ${default_load_addr} ${firmware_name}; nand erase ${pri_kern_addr} ${pri_kern_size};nand write ${default_load_addr} ${pri_kern_addr} ${filesize};'
marvell>>saveenv

fancontrol implementation.

Tmin=50
Tmax=80
Vmax=255
V=Vmax*(CurTemp-Tmin)/(Tmax-Tmin)
image

Firewall

Script is inspired from debian.org's forum.

/etc/sysctl.conf

  • add vm.min_free_kbytes = 16384

MWLWIFI

Always latest

  • Care with an Intel 7260AC client
    Roaming => min
    Power => max

gpio_keys

  • see /usr/local/src/gpio_keys.c

WPS

  • not working

debian-on-wrt1900ac-v1's People

Contributors

jbsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

debian-on-wrt1900ac-v1's Issues

Explanation of the table

Hello Jbsky!
In your repository, I found a patch of power table for the WiFi - add_mamba_powertables.patch
You could have given a reference where to read or explain this table, and more the data array. I understand that the first value refers to the channel number, and what means the following values I don't understand.
<4 0 0x16 0x15 0x14 0x13 0x12 0x11 0x10 0x9 0x8 0x7 0x6 0x5 0x4 0x3 0x2 0x0 0 0xf>

I should be very grateful for the reference or explanation.

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.