Duplicate network configuration
by thomasbb from LinuxQuestions.org on (#59X0N)
My admin is very busy and since my computer is 32bits, the last Ubuntu update broke the Xorg startup.
As far as I understood, if I reinstall the computer from scratch, I only need to duplicate the network configuration for the router not to notice any difference. For this I would need 4 linux commands:


As far as I understood, if I reinstall the computer from scratch, I only need to duplicate the network configuration for the router not to notice any difference. For this I would need 4 linux commands:
- ifconfig device ipaddress netmask nmask broadcast bcast
- ifup device (optional)
- route add -net ipaddress netmask nmask gw gway dev device
- sysctl kernel.hostname=OLD-HOSTNAME
- ifconfig -a
- route
- hostname