Closed

Made an install script for an raspbian environment.

Hello,

I'm searching for somebody that can made an install script for me that runs all the commands and give are the given points questions to fill the info.

And after everything is done it must be automatically run on the system so after an reboot it must be worked automatically.

I have the next info that manual is used.

Editing /etc/[url removed, login to view] and adding:

allowinterfaces eth0

And also:

denyinterfaces wlan0

To just keep it away from wlan0.

Edit /etc/[url removed, login to view] and add/uncomment the following line:

net.ipv4.ip_forward=1

Reboot the thing so this and the change to [url removed, login to view] can take effect. Give wifi a static ip that’s a private IP (changeble with an question but default as written)

sudo ifconfig wlan0 [url removed, login to view] netmask [url removed, login to view]

Next step is to use hostapd with wlan0 - save this into a config file called [url removed, login to view]:

interface=wlan0

driver=nl80211

hw_mode=g

channel=6

ssid=kids_* (* must be give with an question)

wpa=1

wpa_passphrase=must be give with an question)

wpa_key_mgmt=WPA-PSK

Use config by running it with

sudo hostapd -B [url removed, login to view]

Edit /etc/[url removed, login to view] :

interface=wlan0

bind-interfaces

except-interface=lo

listen-address=[url removed, login to view]

dhcp-range=[url removed, login to view],[url removed, login to view],60m

dhcp-option=option:router,[url removed, login to view]

dhcp-lease-max=50

Here’s some iptables rules to run:

sudo iptables -F INPUT

sudo iptables -F OUTPUT

sudo iptables -F FORWARD

sudo iptables -t nat -F PREROUTING

sudo iptables -t nat -F INPUT

sudo iptables -t nat -F OUTPUT

sudo iptables -t nat -F POSTROUTING

sudo iptables -P INPUT ACCEPT

sudo iptables -P FORWARD ACCEPT

sudo iptables -P OUTPUT ACCEPT

sudo iptables -A FORWARD -d [url removed, login to view] -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT

sudo iptables -A FORWARD -s [url removed, login to view] -i wlan0 -j ACCEPT

sudo iptables -A FORWARD -i wlan0 -o wlan0 -j ACCEPT

sudo iptables -A FORWARD -o wlan0 -j REJECT --reject-with icmp-port-unreachable

sudo iptables -A FORWARD -i wlan0 -j REJECT --reject-with icmp-port-unreachable

sudo iptables -t nat -P PREROUTING ACCEPT

sudo iptables -t nat -P INPUT ACCEPT

sudo iptables -t nat -P OUTPUT ACCEPT

sudo iptables -t nat -P POSTROUTING ACCEPT

sudo iptables -t nat -A POSTROUTING -s [url removed, login to view] ! -d [url removed, login to view] -j MASQUERADE

We you need some more info let me know it.

Skills: Linux, Software Architecture

See more: raspberry pi make bash script executable, raspberry pi run shell script on startup, raspberry pi scripting language, raspberry pi shell commands, raspberry pi batch file, raspberry pi python scripts, raspberry pi shell script tutorial, raspberry pi bash, joomla install script, red5 install script, modify install script, freelancer project install script, automatic install script, mysql install script dont work, install script file site

About the Employer:
( 3 reviews ) Dordrecht, Netherlands

Project ID: #15628986

4 freelancers are bidding on average €33 for this job

lnxhelp

I would be happy to write this install script for you. I've got an RPI3 that I can use to develop against and test it out on the latest version of Raspbian. Relevant Skills and Experience 15+ years as a Linux system More

€35 EUR in 2 days
(5 Reviews)
3.2
freelancerkpis

We are happy to bid on this project. We provides dedicate developers and Development and design services as well. ***** We are having a great team of Mobile developers with 7-8 years of experience Relevant Skills a More

€23 EUR in 1 day
(0 Reviews)
0.0
linuxexpart

Hello Folk, Good Day! I am Ubuntu 16.04 LTS Xenial Xerus system admin. I have been working in IT/ITC's sector for the last seven+ years. I have read & understand your project & you requirement. Come online and l More

€50 EUR in 0 days
(0 Reviews)
0.0
nc007

A proposal has not yet been provided

€23 EUR in 3 days
(0 Reviews)
0.0