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

/etc/init.d/network start
,it shows ok,but when I try curl or links,it can't connect.

link|improve this question
feedback

1 Answer

Can you post /etc/sysconfig/network?

It may be as simple as:

ifup eth0

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

link|improve this answer
it worked but it was pci4p1 not eth0.(Fedora 15).I have no idea why. – Alexander May 13 '11 at 15:36
Ugh. "Consistent" network device naming. Consistent with absolutely no other distribution, that's what. – Hyppy May 13 '11 at 16:25
Hyppy,can you add the link in the answer for anybody else using Fedora 15 – Alexander May 13 '11 at 17:18
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.