LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2012, 06:26 AM   #1
csaenemy
LQ Newbie
 
Registered: Oct 2010
Posts: 26

Rep: Reputation: 0
net.eth0 problem


I've been building a Gentoo OS and mostly overcome problems along the way. Finally I rebooted and have a partially working system. Networking is not working. If I do
Quote:
cd /etc/init.d
ls -a
I see net.eth0 flashing red.
If I do
Quote:
less net.eth0
I get
Quote:
net.eth0: No such file or directory
If I do
Quote:
ln -s net.lo net.eth0
I get
Quote:
ln: failed to create a symbolic link 'net.eth0': File exists
What's happening here? Does it exist or does it not?
I am new to all this, my main OS being Pardus (easy beginners distro) so would appreciate if you treat me as a novice, I am at the lower end of the learning curve.
 
Old 01-05-2012, 08:27 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
It may be that you simply need to start the interface. Try this as root:
Code:
 /etc/init.d/net.eth0 stop
 /etc/init.d/net.eth0 start
If that doesn't work, here are instructions from the Gentoo documentation:
http://www.gentoo.org/doc/en/handboo...?part=4&chap=1

Good luck.
 
Old 01-05-2012, 08:51 AM   #3
csaenemy
LQ Newbie
 
Registered: Oct 2010
Posts: 26

Original Poster
Rep: Reputation: 0
Unhappy

I keep getting the
Quote:
No such file or directory
message, so cannot start or stop. I've already been to the page you suggested, but no help. Problem still exists.
 
Old 01-05-2012, 09:50 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Could you show me the output of the following?
Code:
cd /etc/init.d
I am asking cause the sym link may exist, yet the original file it is supposed to point to may not exist.

Cheers,

Josh
 
Old 01-05-2012, 10:07 AM   #5
csaenemy
LQ Newbie
 
Registered: Oct 2010
Posts: 26

Original Poster
Rep: Reputation: 0
@corp769

Contents of /etc/init.d are as follows:

bootmisc
consolefont
crypto-loop
devfs
dhcpcd
dmesg
fsck
functions.sh
git-daemon
hostname
hwclock
keymaps
killprocs
local
localmount
mdev
modules
mount-ro
mtab
net.eth0 (still flashing red)
net.lo
netmount
network
nscd
numlock
procfs
pydoc-2.7
pydoc-3.1
reboot.sh
root
rsyncd
savecache
shutdown.sh
sshd
staticroute
swap
swclock
sysctl
sysfs
syslog-ng
termencoding
udev
udev-dev-tarball
udev-mount
udev-postmount
urandom
 
Old 01-05-2012, 10:12 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Oops, major typo! Sorry about that.... Post the output of the following for me:
Code:
ls -al /etc/init.d/*
 
Old 01-05-2012, 10:18 AM   #7
csaenemy
LQ Newbie
 
Registered: Oct 2010
Posts: 26

Original Poster
Rep: Reputation: 0
I removed net.eth0 and symlinked again and this has stopped it flashing. Hopefully I can move forward now
 
Old 01-05-2012, 10:53 AM   #8
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
How did you symlink it in the first place? And what was it originally linked to?
 
Old 01-05-2012, 12:59 PM   #9
csaenemy
LQ Newbie
 
Registered: Oct 2010
Posts: 26

Original Poster
Rep: Reputation: 0
To be honest I'm not sure what I did. I've been trying various things to get the network up and running, some from the Gentoo handbook and some based on what I've read in forums. Not sure how I ended up in that position. I'm still not networked, but I seem to be making progress. At least ifconfig now shows RX packets and TX packets. Previously there were none. As I said earlier, I am a complete noob, but I'll get there in the end. Gentoo is just a project for me to try and improve my understanding of how Linux works, so I've got plenty of time.
 
  


Reply



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
[SOLVED] Reboot/shutdown problem: net.eth0 waiting for localmount (50 seconds) linuxNewbie. Gentoo 1 10-21-2011 11:52 AM
eth0 sharing wlan0's net connection? HELP NewWithoutClue Linux - Networking 3 08-18-2007 07:40 PM
Cannot select eth0 as Net Device thinhla Mandriva 1 07-03-2005 05:18 PM
Debian net install/failed eth0 fincher69 Linux - Networking 0 02-03-2005 07:12 PM
I have two net cards but only shows eth0 dexter_modem Slackware 3 07-04-2003 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:05 AM.

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