Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/artcom/eppsa-infrastructure

Configuration of routers, servers, etc ...
https://github.com/artcom/eppsa-infrastructure

Last synced: about 1 month ago
JSON representation

Configuration of routers, servers, etc ...

Awesome Lists containing this project

README

        

# eppsa-infrastructure
Configuration of routers, servers, etc ...

## Usage
- Install openWRT on your router

- Set up root password in LuCi at [http://192.168.1.1](http://192.168.1.1)

### Configure router
- Set variables in ```./configure_router.sh``` especially ```SSH_PUBKEY``` if you don't want to lock yourself out.

- Apply configuration

```bash
ssh [email protected] opkg update
ssh [email protected] opkg install rsync
ssh [email protected] mkdir eppsa-infrastructure
rsync -av --exclude .git ./ [email protected]:eppsa-infrastructure
ssh [email protected] chmod +x /root/eppsa-infrastructure/configure_router.sh
ssh [email protected] /root/eppsa-infrastructure/configure_router.sh
```

### Configure additional access points
- Set variables in `./configure_slave_ap.sh`
- Apply configuration

```bash
ssh [email protected] opkg update
ssh [email protected] opkg install rsync
ssh [email protected] mkdir eppsa-infrastructure
rsync -av --exclude .git ./ [email protected]:eppsa-infrastructure
ssh [email protected] chmod +x /root/eppsa-infrastructure/configure_slave_ap.sh
ssh [email protected] /root/eppsa-infrastructure/configure_slave_ap.sh
```

## Configure captive portal (optional)
- Set variables in ```./captive_portal```

- Apply configuration

```bash
ssh [email protected] chmod +x /root/eppsa-infrastructure/captive_portal/captive_portal.sh
ssh [email protected] /root/eppsa-infrastructure/captive-portal/captive_portal.sh
```