Fermé

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.

Compétences : Linux, Architecture Logicielle

en voir plus : 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, install wiki work environment, install script phpfox, install script joomla frontpage slideshow, web install script, vlc install script

Concernant l'employeur :
( 3 commentaires ) Dordrecht, Netherlands

Nº du projet : #15628986

3 freelance font une offre moyenne de €27 pour ce travail

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 2 jours
(5 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(0 Commentaires)
0.0
nc007

A proposal has not yet been provided

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(0 Commentaires)
0.0