Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

baselayout & etc-update has hosed my networking [SOLVED]

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
markus42
n00b
n00b
Posts: 53
Joined: Tue Jul 11, 2006 3:48 am

baselayout & etc-update has hosed my networking [SOLVED]

  • Quote

Post by markus42 » Sun Aug 13, 2006 2:33 am

Hello all

I've done a silly thing. I recently did an emerge --update --deep world (which gave me a new baselayout) and followed that up with an etc-update.

Now my net.lo & net.eth0 won't start. Error is:
/etc/init.d/net.lo: line 34: /lib/rcscripts/net.modules.d/helpers.d/functions: no such file or directory
Same error for net.eth0

I don't have a net.modules.d directory in /lib/rcscripts !!

Looking at the forums, there seems to be some breakage associated with the new baselayout, but I can't find anyone with a similar error to me.

Has anyone got a clue as to how I can go about getting networking up and running?

Thanks in advance
Last edited by markus42 on Mon Aug 14, 2006 9:02 am, edited 1 time in total.
Top
Chris W
l33t
l33t
User avatar
Posts: 972
Joined: Tue Jun 25, 2002 11:38 am
Location: Brisbane, Australia

  • Quote

Post by Chris W » Sun Aug 13, 2006 4:23 am

Looks like a missed etc-update on net.lo. My baselayout-1.12.4-r2 net.lo looks like this:

Code: Select all

     27 # Define where our modules are
     28 MODULES_DIR="${svclib}/net"
     29
     30 # Make some wrappers to fudge after/before/need/use depend flags.
     31 # These are callbacks so MODULE will be set.
     32 after() {
     33         eval "${MODULE}_after() { echo \"$*\"; }"
     34 }
     35 before() {
     36         eval "${MODULE}_before() { echo \"$*\"; }"
     37 }
     38 need() {
     39         eval "${MODULE}_need() { echo \"$*\"; }" 
Line 28 says the modules are in /lib/rcscripts/net.

Run etc-update.
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Top
dsegel
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Fri Jan 31, 2003 8:41 pm

  • Quote

Post by dsegel » Sun Aug 13, 2006 3:15 pm

It's not an etc-update kind of update; when you emerge baselayout there's a message at the end telling you to create symlinks of the existing net.eth* scripts to net.lo. If you don't do that then you'll be running the wrong init script at boot time, and all kinds of things won't work.
Top
Chris W
l33t
l33t
User avatar
Posts: 972
Joined: Tue Jun 25, 2002 11:38 am
Location: Brisbane, Australia

  • Quote

Post by Chris W » Sun Aug 13, 2006 10:04 pm

I opted for etc-update because net.lo is not working and it is the file delivered with baselayout. The point regarding links to net.lo for other interfaces is quite valid.

How are you going with this markus42?
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Top
markus42
n00b
n00b
Posts: 53
Joined: Tue Jul 11, 2006 3:48 am

  • Quote

Post by markus42 » Mon Aug 14, 2006 12:05 am

Thank you guys so much for your messages. I'm at work now and won't be able to do anything for the next 12 hours.

I'll give your suggestions a try. I did an etc-update straight after the emerge --update --deep world so I'll give the symlink suggestion a try.

Just to recap, you are saying that I should delete my net.ethx script files and replace them with symlinks to net.lo?
But net.lo doesn't work either!

Also, I seem to recall from my very quick peek into these scripts, that they were all the same. Perhaps the net.ethx files are already symlinked to net.lo? Anyway, I'll check when I get a moment tonight.

Thanks again
Top
markus42
n00b
n00b
Posts: 53
Joined: Tue Jul 11, 2006 3:48 am

  • Quote

Post by markus42 » Mon Aug 14, 2006 1:28 am

OK. I have a Gentoo Virtual Machine running at work. It's on Baselayout 1.11.15-r3 . It does have a
/lib/rcscripts/net.modules.d/helpers.d/functions file. It looks like my hosed PC has the prior version of the net.lo script. I KNOW I did an etc-update. I remember taking the -5 option to accept all changes.

Let's update my VM version of Gentoo and see what happens.
1. Installs baselayout-1.12.4-r3 (not baselayout-1.12.4-r2)
2. etc-update updates net.lo and a host of other files.
3. Boots with networking OK!!

I'll emerge baselayout-1.12.4-r3 (and do an etc-update) and see how I get on.

Cheers!
Top
markus42
n00b
n00b
Posts: 53
Joined: Tue Jul 11, 2006 3:48 am

  • Quote

Post by markus42 » Mon Aug 14, 2006 9:01 am

I can't emerge the latest baselayout can I? I don't have any network!

Luckily I had the presence of mind to copy the updated config files from the Gentoo VM to a CD. I overwrote the files on my hosed PC and presto - everything is working OK now.

Thanks for your help!
Top
billium
Apprentice
Apprentice
Posts: 185
Joined: Sat Mar 22, 2003 11:22 am

  • Quote

Post by billium » Tue Aug 15, 2006 9:24 am

This happened to me also.

I did the usual emerge --sync emerge -uv system but ran out of time and forgot about etc-update. Switching on later, I got the problem with net.lo. It all corrected itself after etc-update.

Thanks Chris W

Billy
Top
ofeet
n00b
n00b
User avatar
Posts: 61
Joined: Mon Jul 19, 2004 11:30 pm
Location: Utah
Contact:
Contact ofeet
Website

sweet

  • Quote

Post by ofeet » Thu Aug 17, 2006 8:14 pm

Hey thanks for this thread guys, I would have been pooched...

seems weird they moved all that stuff, but everything worked after an etc-update
I have nothing witty or brilliant to put here... /tear
Top
kallamej
Administrator
Administrator
User avatar
Posts: 4993
Joined: Fri Jun 27, 2003 10:05 am
Location: Gothenburg, Sweden

  • Quote

Post by kallamej » Tue Aug 22, 2006 9:12 am

Moved from Networking & Security to Duplicate Threads in favour of [topic=476763]Missing /lib/rcsripts/net.modules.d [SOLVED][/topic].
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Top
Post Reply

10 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic