LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   "ifconfig eth0 up" doesn't work, cause of "no such file or directory" (http://www.linuxquestions.org/questions/linux-networking-3/ifconfig-eth0-up-doesnt-work-cause-of-no-such-file-or-directory-4175422879/)

Sebi94 08-19-2012 07:15 AM

"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!

kilgoretrout 08-19-2012 07:51 AM

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

Sebi94 08-19-2012 01:50 PM

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?

rl5 08-19-2012 03:42 PM

Does your NIC show up in lspci?

And the NIC module in lsmod?

Sebi94 08-20-2012 01:56 PM

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?

Sebi94 08-21-2012 04:08 PM

I found the mistake... It was a missing firmware (the second one, but it needs the first one also):

Quote:

firmware-linux-nonfree
Quote:

firmware-linux
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! :)

rl5 08-21-2012 10:39 PM

Glad you got it sorted out. :)


All times are GMT -5. The time now is 11:50 PM.