User avatar
kelav
Posts: 17
Joined: Fri Jul 06, 2012 10:54 pm
Location: Montpellier (France)

raspi-config fork

Fri Nov 30, 2012 2:12 am

I'm actually working to had new functions to raspi-config.
https://github.com/maditnerd/raspi-config

It is just the beginning so, for now, i just added a function in raspi-config to assign an static ip

I'm planning to add new script (I think about calling it raspi-install) to make installation of basic services

For now, I will be mainly working on everything i need to work on GPIO projects I have made (but not yet documented)
(In which i mean LAMP/Samba/WiringPi/Arduino...)

Feel free to suggest ideas, modifications!

If you want to test this , you'll need to install git

Code: Select all

apt-get install git
Then do this:

Code: Select all

cd /tmp
git clone https://github.com/maditnerd/raspi-config.git
cd raspi-config
-------------

Code: Select all

Changelog
Added an function to assign easily an static IP address based on the DHCP information provided.

The function doesn't reload network configuration to avoid SSH disconnection

The function do_ipaddress() ,using the ipconfig and route programs, find all
the information needed to configure your network.

You can change your IP Address but if you want to just switch from
dynamic IP to static IP, you just have to type ENTER.

This methods overwrote all the changes in /etc/network/interfaces
so you shouldn't use it if you have other interfaces (Wlan) configured
(It also make an backup copy of interfaces named interfaces.backup)

This also doesn't worked on an unconfigured network (if DHCP failed
for example)

Next improvement to make:
-------------------------
Advanced Configuration mode (If no network is actually found)
IP Verification (If you type your IP wrong there is no error message)
Revert to DHCP (By simply put back the default configuration)
Take a look at my wiki on the Raspberry Pi : http://madnerd.org

User avatar
kelav
Posts: 17
Joined: Fri Jul 06, 2012 10:54 pm
Location: Montpellier (France)

Re: raspi-config fork

Sat Dec 01, 2012 2:17 am

I have update my fork.

You can install and do some really basic setup of LAMP and samba with a script named raspi-install.

I made a video presentation:
http://www.youtube.com/watch?v=4Rv4ANaTm9g

If you want to read about the new release :
https://github.com/maditnerd/raspi-conf ... b65b92158f

I will be making update, next week, feel free to subscribe to my youtube channel / git if you want to be kept update.
Take a look at my wiki on the Raspberry Pi : http://madnerd.org

User avatar
kelav
Posts: 17
Joined: Fri Jul 06, 2012 10:54 pm
Location: Montpellier (France)

Re: raspi-config fork

Sat Dec 01, 2012 3:51 pm

Last update !
I added an installer for WiringPi

Image

It installs git-core, copy the source code of wiring pi on the Desktop and build it.

After that it shows you a basic scheme of how to plug a led and make a blink test

Image

Hope you'll enjoy it.
Take a look at my wiki on the Raspberry Pi : http://madnerd.org

Return to “Raspberry Pi OS”