Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire. Join us and help us improving it!

Looking for something?

Use the search and find answers to everything about IPFire. If you cannot find what you are looking for, join our community and talk to fellow IPFire users, developers and everybody else involved in the project.

IPFire Community

Differences in Revisions: Migrating to new hardware

updated
# Migrating to new hardware
 
 
## Change one or more NICs
 
Open a CLI and start the setup-wizard.
 
```text
`setup`
setup
```
 
First you have to remove the obsolete NICs before you are able to assign the new ones.
 
 
## Change the mainboard
 
If you change you mainboard the sensor-chips will usually change too. So it is necessary to rescan for sensor-chips and remove obsolete rrd-files.
 
 
### Rescan for sensors
 
```text
/usr/sbin/sensors-detect
```
 
`/usr/sbin/sensors-detect`
Follow the dialogue to generate a new configfile (locate at `/etc/sysconfig/lm_sensors`).
 
Follow the dialogue to generate a new configfile (**/etc/sysconfig/lm_sensors**).
To remove the obsolete sensors from the list of selectable sensors on the webif you have to remove the obsolete folders (sensors-*) from `/var/log/rrd/collectd/localhost`.
 
To remove the obsolete sensors from the list of selectable sensors on the webif you have to remove the obsolete folders (sensors-*) from "**/var/log/rrd/collectd/localhost**" .
**Important!** You must stop `collectd` before you change the rrd data, see below.
 
Important! You have to stop collectd before you change the rrd data, see below.
 
### RRD-Graphs are wrong
## RRD-Graphs are wrong
 
Stop collectd:
 
```text
`/etc/init.d/collectd stop`
/etc/init.d/collectd stop
```
 
You have to remove the "old" rrd-files within the folders "**/var/log/rrd**" and **subfolders**.
You have to remove the "old" rrd-files within the folders `/var/log/rrd` and **subfolders**.
 
Now you have to start the "collectd"
Now you have to start the `collectd`.
 
```text
`/etc/init.d/collectd start`
/etc/init.d/collectd start
```
 
 
Finally a reboot is recommend.