Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

No netwrok after install

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
Crooksey
Apprentice
Apprentice
User avatar
Posts: 239
Joined: Wed Apr 26, 2006 12:56 pm
Location: Vatican City

No netwrok after install

  • Quote

Post by Crooksey » Mon Aug 21, 2006 9:24 am

Last night as i was stapped for time i used the LiveCD installer fro 2006.0, using gentoo-sources, websync and the standard packages, so for 1 i know that my eth0 card is supported, 2, my install was 100% sucessfull, so in the morning i boot into gentoo, goto emerge some stuff, cannot connect, hmm ok, so i run and ifconfig, and low and behlold no network card is listed, so my question is...how do i get my network card to be detected and run from boot.

My card is listed in lspci, and if you want the make of it, "Marvell Tech, Ethernet Controller, PCI-E Gigabit"
Top
sfragis
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 95
Joined: Thu Mar 24, 2005 5:28 pm
Location: RE < IT < Europe
Contact:
Contact sfragis
Website

  • Quote

Post by sfragis » Mon Aug 21, 2006 12:45 pm

Hi Crooksey,
following are common steps needed to setup such a card:
  • compile the kernel module: go to Device Drivers > Network device support > Ethernet (1000 Mbit) and see which module is right for your card (for my Marvell 88E8001 with Yukon chipset I can use both skge and sk98lin)
  • configure /etc/conf.d/net (read /etc/conf.d/net.example as an help on how setup dhcp, ip and mask)
  • ln -s /etc/init.d/net.lo /etc/init.d/net.eth0
  • rc-update add net.eth0 default
  • write the module in /etc/module.autoload.d/kernel-2.6 in order to load it on boot
Regards
Fabio Strozzi
Top
Crooksey
Apprentice
Apprentice
User avatar
Posts: 239
Joined: Wed Apr 26, 2006 12:56 pm
Location: Vatican City

  • Quote

Post by Crooksey » Mon Aug 21, 2006 7:45 pm

How would i add the modules? I used the liveCD and gentoo-sources.
Top
cyblord
Guru
Guru
Posts: 424
Joined: Mon May 22, 2006 2:28 am

  • Quote

Post by cyblord » Mon Aug 21, 2006 8:03 pm

check this guide out:

http://forums.gentoo.org/viewtopic-t-46 ... yukon.html
Top
Crooksey
Apprentice
Apprentice
User avatar
Posts: 239
Joined: Wed Apr 26, 2006 12:56 pm
Location: Vatican City

  • Quote

Post by Crooksey » Mon Aug 21, 2006 10:22 pm

So i added the kernel modules, did all off the above, and yet eth0 does not exist. Any more ideas?
Top
sfragis
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 95
Joined: Thu Mar 24, 2005 5:28 pm
Location: RE < IT < Europe
Contact:
Contact sfragis
Website

  • Quote

Post by sfragis » Thu Aug 24, 2006 12:52 pm

First, is module correctly loaded? See the output of dmesg after, report it if any error accours.
After module gets loaded correctly, try to configure the eth0 interface with ifconfig. Following is an example, adjust it according to your settings (ip, network, interface and so on):

Code: Select all

# adds the eth0 interface with 192.168.1.1 address
$ ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
# add the default gateway, in this case 192.168.1.254 (this is useful if you have a router)
$ route add -net 192.168.1.0 netmask 255.255.255.0  gw 192.168.1.254
# prints out informations about the eth0 interface
$ ifconfig eth0
Now, if everything works, you should have an eth0 interface up. If this is the case, customize /etc/conf.d/net and you'll have your interface up on every boot.
Regards
Fabio Strozzi
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

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