Configuring network in SLE12 rescue mode
This document (7017954) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
Rescue:/ # systemctl start network.service
Running in chroot, ignoring request.
Rescue:/ # rcnetwork start
rcnetwork: no such service network
If you use DHCP, use the dhclient command to get a DHCP address from the network.
This will configure DHCP on the interface specified, in this case eth0.
If you don't use DHCP, you must manually configure the IP and default route.
- Use the ifconfig command to configure the net device.
ifconfig eth0 <ip address> netmask <netmask value>
ifconfig eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx
(Replace the x's in this example with a legitimate IP address and mask.)
- Use the route command to configure a communication route.
route add default gw <route value> dev <network interface>
route add default gw xxx.xxx.xxx.xxx dev eth0
(Replace the x's in this example with a legitimate route.)
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7017954
- Creation Date: 16-Aug-2016
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com