-   Fedora (
-   -   I've gone and deleted my network-scripts. (

gusblake 07-09-2010 10:37 AM

I've gone and deleted my network-scripts.

I keep having problems with networking on Fedora 13. I found that sometimes running this command:


rm /etc/sysconfig/networking/devices/ifcfg-*
would sort it out, presumably by reverting some setting to the default. During one attempt to find a permanent solution, I got an error to do with this directory:


I wasn't really paying attention at this point, so assuming that this was the same directory I deleted the ifcfg- files from before, I copy-pasted it and ran:


rm -f /etc/sysconfig/network-scripts/ifcfg-*
So yeah, I'm using an Ubuntu live CD to post this.

Is there a way to recreate these files without reinstalling? (Or if you have /etc/sysconfig/network-scripts/ifcfg-[wlan0, eth0 etc] could you post their contents here?)


irmin 07-09-2010 10:45 AM

It seems that you just have to reconfigure your network devices. This is what I've found:

I think this files will just contain the interface configuration, so try reconfiguring your network.

gusblake 07-09-2010 12:37 PM

Thanks for that, I will boot back into Fedora and try it out.

Update: I'm back online now, deleting and then creating the device wlan0 again (all from system-config-network) did the trick.

smoker 07-09-2010 01:14 PM

This is why we don't run as root all the time.

All times are GMT -5. The time now is 04:21 AM.