Start Stop Network Device eth0 on Linux Fedora using service Command
Step by Step Start Stop Network Device eth0 on Linux Fedora using service Command
The step by step example below use the service command bring up or start network device eth0 on Linux Fedora system (start network). The example also show the step by step how to bring down or stop eth0 network device that already active on Linux Fedora using the service command (stop network). To enable you to execute or configure the system setting on Linux Fedora system, you must log in as root user or use the su command to execute command as root user as show on example below.
1. Open command terminal or desktop X terminal and type in su - command as show on example below, to enable you to execute command as root user as show on this step by step article.
[fedora@fedora ~]$ su -
Password: <-- key in root user password here and hit Enter key
[root@fedora ~]#
Start network device using service command
2. Example of the service command to start network device on Fedora system.
[root@fedora ~]# service network start
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
[root@fedora ~]#
Stop network device using service command
3. Example of the service command to stop network device on Fedora system.
[root@fedora ~]# service network stop
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
[root@fedora ~]#
Check network device status on Linux Fedora
4. Example below show the use of service command to check network service and network device status.
4.1. The output from service command as on example below only show when the network device currently active ( active network device ).
[root@fedora ~]# service network status
Configured devices:
lo eth0
Currently active devices:
lo eth0
[root@fedora ~]#
4.2. The out from the service command below show that the eth0 network device is stop or not active when the service command is execute to check current network status.
[root@fedora ~]# service network status
Configured devices:
lo eth0
Currently active devices:
[root@fedora ~]#
Troubleshoot: Bash Service Command Not Found
5. Make su that you correctly issue su - command and supply root user password when ask, as show on step 1 above.
[fedora@fedora ~]$ service network status
bash: service: command not found
[fedora@fedora ~]$ su
Note: The example above is tested on Linux fedora 9 system with disable NetworkManager.
Keywords: start network, stop network, fedora network, start stop network, stop network device fedora, start network device fedora, service network start, service network stop, service network status
- 27634 reads
- Email this page
Recent comments
8 years 52 weeks ago
9 years 3 weeks ago
9 years 16 weeks ago
9 years 22 weeks ago
9 years 32 weeks ago
9 years 35 weeks ago
9 years 43 weeks ago
9 years 50 weeks ago
10 years 2 weeks ago
10 years 7 weeks ago