Forums

Skip to content

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

unable to connect to network and LAN

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
hamayya
n00b
n00b
Posts: 22
Joined: Sun Jan 09, 2005 5:52 am

unable to connect to network and LAN

  • Quote

Post by hamayya » Mon Jan 10, 2005 3:18 pm

I installed gentoo yesterday.While installing i had problem s with emerge --rsync but I completed the complete installation from the first stage without any errors ....I even used my lan and the net to download some source files.So,there wasnt any problem with the network.But now when I boot into gentoo.my network doesnt function.All the settings are connect.
I get the following error on typing
#/etc/init.d/./net.eth0 restart

* Bringing eth0 up(142.22.31.2)
SIOCSIFADDR No such device
eth0 : unknown interface : No such device
SIOCSIFBDADD..............DO......
ETH0...............do......
SIOSIFNETMASH .............do.....

Can someone please help me out?
TIA
hamayya
Top
expat_iain
Guru
Guru
Posts: 361
Joined: Fri Jan 09, 2004 5:53 pm
Location: Malta GC

  • Quote

Post by expat_iain » Mon Jan 10, 2005 3:25 pm

You don't have support for your NIC loaded. You need to find out what type of NIC you have and best then to compile the driver as a module and modprobe it.

Regs.

Iain.
Top
hamayya
n00b
n00b
Posts: 22
Joined: Sun Jan 09, 2005 5:52 am

  • Quote

Post by hamayya » Mon Jan 10, 2005 3:34 pm

Can you tell how to go about it,I mean the exact procedure
I have a MSI Motherboard and via-rhine networkd(inbuilt)
TIA
Top
expat_iain
Guru
Guru
Posts: 361
Joined: Fri Jan 09, 2004 5:53 pm
Location: Malta GC

  • Quote

Post by expat_iain » Mon Jan 10, 2005 3:56 pm

If using a 2.6 kernel, go into /usr/src/linux, make menuconfig, select the VIA_RHINE driver as a module, exit, make && make modules_install, then modprobe via-rhine (or whatever the module is called).

Simple.

Regs.

Iain.
Top
hamayya
n00b
n00b
Posts: 22
Joined: Sun Jan 09, 2005 5:52 am

  • Quote

Post by hamayya » Mon Jan 10, 2005 4:19 pm

The required module was already selected.Anyhow I repeated the steps.
When i modprobe,i get this error...........

Could not load /lib/modules/2.6.4.52-default/modules.dep : NO such file or directory

I get the same erro even while booting the system.............
So,whats the problem.??
Top
expat_iain
Guru
Guru
Posts: 361
Joined: Fri Jan 09, 2004 5:53 pm
Location: Malta GC

  • Quote

Post by expat_iain » Mon Jan 10, 2005 5:03 pm

hamayya wrote:Could not load /lib/modules/2.6.4.52-default/modules.dep : NO such file or directory
That's a new one on me. Try to emerge the gentoo-dev-sources, relink to /usr/src/linux, copy your .config file to the new directory and recompile.

Once you've finished make modules_install, check the modules were copied over to /lib/modules/<kernel_version>/

Regs.

Iain.
Top
hamayya
n00b
n00b
Posts: 22
Joined: Sun Jan 09, 2005 5:52 am

  • Quote

Post by hamayya » Mon Jan 10, 2005 5:10 pm

I have the following.........

/lib/modules/2.6.4-52-default/kernel/drivers/net/via-rhine.ko: /lib/modules/2.6.4-52-default/kernel/drivers/net/mii.ko

So,I think the problem lies somewhere else....
Top
expat_iain
Guru
Guru
Posts: 361
Joined: Fri Jan 09, 2004 5:53 pm
Location: Malta GC

  • Quote

Post by expat_iain » Mon Jan 10, 2005 5:33 pm

First up:

Code: Select all

depmod -a
Then:

Code: Select all

modprobe via-rhino
That should bring up the NIC. If not, then reboot and try to modprobe again (nice to start fresh). Once you've done that post the results of dmesg. In fact, post the results of the following anyway:

Code: Select all

dmesg | grep eth
Regs.

Iain.
Top
hamayya
n00b
n00b
Posts: 22
Joined: Sun Jan 09, 2005 5:52 am

  • Quote

Post by hamayya » Tue Jan 11, 2005 11:09 am

Actually the error is because ther is no such directory as /lib/modules/2.6.4.52.........
There is only one directory in that location and thats 2.6.9.......
so,I made a soft link for the same.........
Then ,I stopped getting that error...
Then (after I changed only) depmod -a went fine.
But modprobe via-rhino again is giving the error
And at boot time ,it says ......CHECK THAT YOUR .....IS ACTIVE AT /ETC/RC.D/NET..
But as I said earlier ,all the config files are ok.............

Can someone plz help?

hamayya
Top
Post Reply

9 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