Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lahwaacz/openwrt-dotfiles
https://github.com/lahwaacz/openwrt-dotfiles
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lahwaacz/openwrt-dotfiles
- Owner: lahwaacz
- License: mit
- Created: 2012-01-02T17:37:46.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-01-10T18:26:09.000Z (almost 13 years ago)
- Last Synced: 2024-10-31T17:08:52.297Z (about 2 months ago)
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jakub Klinkovský's configuration files
These are my config files of OpenWrt - an operating system I use in my Ubiquiti RouterStation Pro.
## Installation
git clone git://github.com/lahwaacz/openwrt-dotfiles.git
cd openwrt-dotfilesAnd now copy the files anywhere you want.
## Environment
### Software
I build the system from trunk source. To get it do the following:
git clone git://nbd.name/openwrt.git ~/trunk/
cd ~/trunkTo build it you need to have installed gcc, binutils, patch, bzip2, flex, make, gettext, pkg-config,
unzip, libz-dev and libc headers. Then run `make menuconfig` to configure your firmware and `make`
to build it.### Hardware
I have a Ubiquiti RouterStation Pro board, these config files may not work on other devices. Especially
`.config` will work only on RouterStation Pro! Also note that RouterStation and RouterStation Pro
are incompatible.#### Hardware specification
1. Overall System Configuration
- CPU Atheros AR7161 MIPS 24Kc running @ 680MHz
- MEMORY DDR 128MB
- FLASH SPI 16MB
- 4-Port Gigabit Ethernet Switch
- Three MINI-PCI Slots supports Type IIIA
- USB 2.0 Host
- Built in RS232/dB9 Connector
- SDIO
- On board Real Time Clock "RTC"
- DC Power Jack
- 802.3af 48V compatible2. Power Supply Range 40VDC to 56VDC
- Using Higher voltage is recommended since it will use lower current
- Typical Power Consumption is 3W idle no radios present
- 5W idle One Radio present
- 7W while passing 1000Mbps traffic
- Single RJ45 "J1" is for WAN and 802.3af compatible Power Over Ethernet
- Supports high power POE up to 25W3. Ethernet Interface
- J1 Single WAN port 10/100/1000
- J2 Tripple LAN Port 10/100/1000
- 2 RGMII Ethernet Logical Ports to Ethernet Phy Switch
- 1 RGMII port for WAN Port
- 1 RGMII port for LAN Ports
- Ethernet Phy switch, Atheros AR83164. Real Time Clock "RTC" Interface
- RTC Interface shares the SPI bus with the on board FLASH
- Active high signal on SPI CS enables RTC, active low signal on SPI CS enables FLASH
- Manufacture Part# PCF2123TS [Download Datasheet](http://www.nxp.com/acrobat_download/datasheets/PCF2123_1.pdf)5. Supported IO
##### UART J3 6 pin Header
Terminal Settings
115200 baud, 8 bits, nor parity, 1 stop bit.
Pin Out
Pin1
3.3VDC
Pin2
S_in
Pin3
NC
Pin4
NC
Pin5
S_out
Pin6
GND
##### JTAG Port "J4"
14 Pin header
Pin Out
Pin1
TRST
Pin2
GND
Pin3
TDI
Pin4
GND
Pin5
TDO
Pin6
GND
Pin7
TMS
Pin8
GND
Pin9
TCK
Pin10
GND
Pin11
RST
Pin12
NC
Pin13
NC
Pin14
3.3VDC
##### USER GPIO Header "J33"
Single Row 7 Pin Header Also next to it J5 dual row header to enable pull-up or pull-down for each GPIO user selectable in case User needs Active Low or Active High GPIO
J33 Pin out and Strapping option "place shunt to enable strapping option"
Pin Out
NAME
J5 STRAPPING
Pin1
GPIO_0
PULL LOW
Pin2
GPIO_1
PULL LOW
Pin3
GPIO_3
PULL LOW
Pin4
GPIO_4
PULL LOW
Pin5
GPIO_5
PULL HIGH
Pin6
GPIO_6
PULL HIGH
Pin7
GPIO_7
PULL HIGH
##### RESET BUTTON "SW4"
Uses GPIO_8 with weak pull-up, Active Low, for Resting back to factory defaults or multiple functions software dependent.
##### LED INDICATORS
Link/Act signals are connected to the Ethernet Phy Switch
LED
NAME
FUNCTION
GPIO
D29
POWER
3.3VDC
NA
D24
RF
RADIO Act
GPIO_2
DS4
WAN
Link/Act
NA
DS14
LAN1
Link/Act
NA
DS12
LAN2
Link/Act
NA
DS13
LAN3
Link/Act
NA
#### Additional hardware informations
- I have two wireless cards TP-Link TL-WN360G. One is used as client to connect to my WISP, the other
is used as AP for my home network.
- I have a 8GB USB flash drive connected to the USB port and I have configured extroot (rootfs on external storage),
so the entire system is booted from this device. The entire configuration is done in `/etc/config/fstab`, so if
you don't want this, change the mount target from `/` to `/mnt` (or something else). Also if you use the Backfire
release or versions of Trunk older than `r26109`, mounting the external storage as `/` is not possible.