ICub machines configuration: Difference between revisions
Jump to navigation
Jump to search
(→Other operations: network) |
|||
Line 12: | Line 12: | ||
= Other operations = | = Other operations = | ||
== Network configuration == | |||
* manually configuree the internet connection (<code>/etc/network/interfaces</code>): | |||
auto lo | |||
iface lo inet loopback | |||
auto eth0 | |||
iface eth0 inet static | |||
address 10.10.x.y # put your IP here | |||
netmask 255.255.255.0 | |||
network 10.10.1.0 | |||
broadcast 10.10.1.255 | |||
gateway 10.10.1.254 | |||
* optionally, we can customize the <code>/etc/hosts</code> file [[Chico3 laptop machine configuration#Network|like we did on Chico3]]; this would allow us to quickly access other machines, as in: <code>ping cortex1</code>. Alternatively, we can do nothing and just use <code>ping cortex1.visnet</code> (i.e., attach the <code>.visnet</code> part after a machine name, see [[VisLab network]] for details). | |||
== Additional packages and environment variables == | == Additional packages and environment variables == |
Revision as of 13:45, 7 October 2011
In this page we will list configurations that are common to all machines used at Vislab, particularly Linux machines that work with the iCub robot.
Operating system installation
Operations after first boot
- choose Main server (rather than Portugal server, which is not always reliable) as the software repository
- on desktop machines, System -> Administration -> Synaptic Package Manager -> Settings -> Repositories -> Download from: Main server
- on server machines, remove all the "pt." strings from /etc/apt/sources.list with the following command:
sudo sed -i 's/pt.//g' sources.list
- update packages (including kernel) with
sudo apt-get update
;sudo apt-get upgrade
- add icub user if not done already:
sudo adduser icub
followed bysudo usermod -aG admin icub
to give it sudo privileges
Other operations
Network configuration
- manually configuree the internet connection (
/etc/network/interfaces
):
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.10.x.y # put your IP here netmask 255.255.255.0 network 10.10.1.0 broadcast 10.10.1.255 gateway 10.10.1.254
- optionally, we can customize the
/etc/hosts
file like we did on Chico3; this would allow us to quickly access other machines, as in:ping cortex1
. Alternatively, we can do nothing and just useping cortex1.visnet
(i.e., attach the.visnet
part after a machine name, see VisLab network for details).