I need to start network interface from command line.I usually do it with the GUI but I don't have desktop manager now.I tried
,it shows ok,but when I try curl or links,it can't connect.
Can you post
It may be as simple as:
Fedora 15 uses "Consistent" device naming, which means that your actual device name will likely be something along the lines of em1 or pci3p1 Source
In Fedora there is a service called NetworkManager.service that automatically makes sure you are connected to the internet as defined in:
Run this command as root to check the status of this service:
If it is disabled, enable it, or find out why it was disabled:
Then either reboot the computer or restart the network.service manually:
Here is the contents of my
You would roll your own 'restart network' scripts only if the available ones are non functional or are not adequate for a specific task.