Difference between revisions of "Ubuntu 12 04 modifications"

From RobotinoWiki
(Scripts)
Line 5: Line 5:
  
 
==Scripts==
 
==Scripts==
 +
===/etc/sudoers===
 +
<pre>
 +
Defaults        env_reset
 +
Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:$
 +
 +
root    ALL=(ALL:ALL) ALL
 +
robotino ALL = NOPASSWD: ALL
 +
</pre>
 +
 
===/etc/init/failsafe.conf===
 
===/etc/init/failsafe.conf===
 
comment sleep to bring up the system quickly even on failure
 
comment sleep to bring up the system quickly even on failure

Revision as of 18:16, 19 November 2013

Packages

apt-get install telnetd proftpd hostapd dhcp3-server cmake-curses-gui lighttpd

Scripts

/etc/sudoers

Defaults        env_reset
Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:$

root    ALL=(ALL:ALL) ALL
robotino ALL = NOPASSWD: ALL

/etc/init/failsafe.conf

comment sleep to bring up the system quickly even on failure

/boot/grub/grub.cfg

recordfail set timeout to 2 seconds. That allows grub to boot after accidential system shutdown.

/etc/udev/rules.d/70-persistent-net.rules

remove hardware address from eth0 and wlan0 lines. This allows the usage of different COM express modules and wlan adapters

/etc/lighttpd/conf-enabled

rename to /etc/lighttpd/conf-enabled.old. Configuration is read from the lighttpd.conf which is installed by the robotino-daemons package.

/etc/default/rcS

FSCKFIX=yes automatic repair of filesystem errors