Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-19-2012, 07:15 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2012
Posts: 21
Rep: 
|
"ifconfig eth0 up" doesn't work, cause of "no such file or directory"
Hello community!
I've got a problem with my network. I've rebooted the system and after it, the network couldn't come up. I entered the command "ifconfig eth0 up". The error message sayed, that no such file or directory available is. I think it's exactly this error message:
Quote:
|
SIOCSIFFLAGS: No such file or directory
|
I also stoped and started the /etc/init.d/networking. The /etc/init.d/interfaces is always the same, like before as it still worked fine. DMESG also doesn't say something interesting.
Well, I haven't got any idea left. Can you help me?
Thanks forwarding!
Last edited by Sebi94; 08-19-2012 at 07:17 AM.
|
|
|
|
08-19-2012, 07:51 AM
|
#2
|
|
Senior Member
Registered: Oct 2003
Posts: 2,280
Rep: 
|
Which distro? The ifconfig command has been deprecated and many distros have switched to its replacement, the "ip" command. Using the new ip command, the equivalent to "ifconfig eth0 up" would be:
# ip link set eth0 up
For ip eqivalents to ifconfig typical commands see generally:
http://www.tty1.net/blog/2010-04-21-...arison_en.html
|
|
|
|
08-19-2012, 01:50 PM
|
#3
|
|
LQ Newbie
Registered: Jun 2012
Posts: 21
Original Poster
Rep: 
|
Thanks, but that also doesn't work.
Quote:
|
Originally Posted by root # cat /etc/debian_version
6.0.5
|
Quote:
|
Originally Posted by root # ip link set eth0 up
RTNETLINK answers: No such file or directory
|
Quote:
|
Originally Posted by root # /etc/init.d/networking start
Configuring network interfaces...
SIOCSIFFLAGS: No such file or directory
Failed to bring up eth0.
done.
|
Quote:
|
Originally Posted by root # ifconfig
Shows only "lo"
|
Quote:
|
Originally Posted by root # ip addr show
Shows "lo", "eth0" and "eth1". eth0 has the right address, but is down.
|
Quote:
|
Originally Posted by root # cat /var/log/dmesg
There are some informations, which are normal and one, which I think, it's the error:
PME# disabled
|
Any idea?
|
|
|
|
08-19-2012, 03:42 PM
|
#4
|
|
Member
Registered: Nov 2003
Location: Beautiful Northern California
Distribution: Debian Wheezy x64 3.2.0-3-rt, Fuduntu 2012 testing, The Distro Formerly Known As Mandrake
Posts: 95
Rep:
|
Does your NIC show up in lspci?
And the NIC module in lsmod?
Last edited by rl5; 08-19-2012 at 03:44 PM.
|
|
|
|
08-20-2012, 01:56 PM
|
#5
|
|
LQ Newbie
Registered: Jun 2012
Posts: 21
Original Poster
Rep: 
|
It's shown in lspci and lsmod.
I loaded the module manually again. I edited the /etc/inittab and
I reconfigured the Kernel of Linux and the broadcom NIC.
And I also restarted the inetd, network-manager and tried to get up the Interface with ip link Set eth0 up and ifup eth0 and ifconfig eth0 up.
Any other ideas?
|
|
|
|
08-21-2012, 04:08 PM
|
#6
|
|
LQ Newbie
Registered: Jun 2012
Posts: 21
Original Poster
Rep: 
|
I found the mistake... It was a missing firmware (the second one, but it needs the first one also):
After the installation of this two packages and a reload of the config and a reboot, the network still works again.
Thank you for helping! 
|
|
|
|
08-21-2012, 10:39 PM
|
#7
|
|
Member
Registered: Nov 2003
Location: Beautiful Northern California
Distribution: Debian Wheezy x64 3.2.0-3-rt, Fuduntu 2012 testing, The Distro Formerly Known As Mandrake
Posts: 95
Rep:
|
Glad you got it sorted out. 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:46 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|