LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2012, 07:15 AM   #1
Sebi94
Member
 
Registered: Jun 2012
Posts: 34

Rep: Reputation: Disabled
Exclamation "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.
 
Old 08-19-2012, 07:51 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,986

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
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
 
Old 08-19-2012, 01:50 PM   #3
Sebi94
Member
 
Registered: Jun 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
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?
 
Old 08-19-2012, 03:42 PM   #4
rl5
Member
 
Registered: Nov 2003
Location: Beautiful Northern California
Distribution: Linux Mint
Posts: 97

Rep: Reputation: 18
Does your NIC show up in lspci?

And the NIC module in lsmod?

Last edited by rl5; 08-19-2012 at 03:44 PM.
 
Old 08-20-2012, 01:56 PM   #5
Sebi94
Member
 
Registered: Jun 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
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?
 
Old 08-21-2012, 04:08 PM   #6
Sebi94
Member
 
Registered: Jun 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
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!
 
Old 08-21-2012, 10:39 PM   #7
rl5
Member
 
Registered: Nov 2003
Location: Beautiful Northern California
Distribution: Linux Mint
Posts: 97

Rep: Reputation: 18
Glad you got it sorted out.
 
  


Reply

Tags
error, ifconfig, interfaces, network interface, networking



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ - "snprintf" inside "for" doesn't work as expected. (int to char*) Repgahroll Programming 14 08-31-2010 08:27 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 07:11 PM
What does "Directory "/usr/src/linux" doesn't appear to contain kernel source." mean? jtp51 Linux - General 4 06-11-2007 12:22 AM
which file can i set "ifconfig eth0 up"? Mathsniper Debian 6 04-27-2005 02:17 PM
"ifconfig et0 del" doesn't work for me - why? mizuki26 Linux - Networking 1 12-17-2003 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration