Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Simple n00b problem
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 2:27 am    Post subject: Simple n00b problem Reply with quote

Hey guys

I had started a thread earlier about this but my eagerness and my excitement made me much up that thread, so here is a new one in the right forum this time and with more info. Hopefully I can get an answer this time :)

MADbull has been helping me but now we're both confused. Here is my problem:

I have just installed Gentoo 1.4 and I have everything working accept for one problem. I seem to have run into some network problems.

At bootup, I get this message:

Code:
Problem starting needed services
Couldn't start up eth0


I have taken percausions of:

Compiling kernel to how it should be
making dep and a clean bzImage
editing /etc/conf.d/net
rc-update net.eth0 default
/etc/init.d/net.eth0 start (came back with same error - Failed to start up eth0)
added via-rhine to /etc/modules.autoload.d/kernel-2.4

I have put via-rhine as an include in the menuconfig and it was trying to modprobe it. So then I put it in modules.autoload.d/kernel-2.4 and it was biznatching about something - I then took it out, recompiled kernel, and it stopped complaining about that. It still gives me the error, however. I really can't use the computer until net connection is working, so all help is greatly appreciated. :)

My specs are as follows:

VIA KT400 SOYO Motherboard (using VIA-RHINE for ethernet drivers)
Athlon XP 2400+ Proc
512mb DDR 3500 RAM
Radeon 8500 Graphics Card
120gb Hard Drive 7200RPM

Thanks, again, in advance, for any help. If you need more info on what has already occured in this process, check out this thread:

https://forums.gentoo.org/viewtopic.php?t=103876

Thanks again!
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Tue Nov 11, 2003 2:34 am    Post subject: Reply with quote

that part about the via-rhine was confusing, let me say one thing
you either want it COMPILED IN (y in menuconfig and then remake bzImage, you know the deal) or
as a module (Y in menuconfig and then make modules modules_install) and add via-rhine to /etc/modules.autoload OR (if you use multiple kernel versions and only want it to load when you run 2.4 add it to /etc/modules.autoload.d/2.4 you DON"t need it in both. putting it in /etc/modules.autoload is probably better. remember, # denotes a comment as in most config files.

also check out /etc/init.d/net.eth0 one more time, remember, you want to use DHCPCD (dhcp Client Daemon). dhcp can be started manually using dhcpcd <iface> like this:
ifconfig eth0 down;ifconfig eth0 up&&dhcpcd eth0
but you DON'T need to do that. that is what the init script does for you on boot, or when you call /etc/init.d/net.eth0 start.

or somehting
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 3:25 am    Post subject: Reply with quote

tried doing so - same thing - same error - same problem.
Back to top
View user's profile Send private message
digitalsy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 107
Location: North Bend, WA

PostPosted: Tue Nov 11, 2003 3:28 am    Post subject: Reply with quote

As I asked before, is your ethernet an onboard ethernet controller if so make sure it is ENABLED in the BIOS.
_________________
Always remember you are unique...just like everybody else.
Life sucks, get a helmet
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 3:36 am    Post subject: Reply with quote

It is - I'm sorry I forgot to mention that - I checked and it was infact enabled. I even set it as the 3rd boot option.
Back to top
View user's profile Send private message
digitalsy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 107
Location: North Bend, WA

PostPosted: Tue Nov 11, 2003 5:10 am    Post subject: Reply with quote

well if it's enabled, your kernel should see it when you do a dmesg | less it should show up as eth0...which it's not, so I'm guessing something is wrong with the onboard network interface....try putting a pci network card in, and see if you get an eth0 in your dmesg. If you do then something's wrong with your onboard interface.
_________________
Always remember you are unique...just like everybody else.
Life sucks, get a helmet
Back to top
View user's profile Send private message
jaska
Bodhisattva
Bodhisattva


Joined: 06 Jun 2003
Posts: 725
Location: Finland

PostPosted: Tue Nov 11, 2003 9:24 am    Post subject: Reply with quote

The problem could be unresolved symbols in the via-rhine drivers. Via-rhine drivers for network cards have never been too great in the past but still. You probably should go buy a good and cheap realtek 8139 based card if you cannot get this working.
Back to top
View user's profile Send private message
digitalsy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 107
Location: North Bend, WA

PostPosted: Tue Nov 11, 2003 2:19 pm    Post subject: Reply with quote

Onboard components suck, don't try going all cheap and integrated you'll just end up having problems and buying pci cards in the end. Grab yourself a D-Link 538-TX (8139 Realtek chip) the module to load would be 8139too

-digi
_________________
Always remember you are unique...just like everybody else.
Life sucks, get a helmet
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 4:26 pm    Post subject: Reply with quote

Saying that onboard components suck is pretty uneducated my friend... It is MUCH faster than my network card - when I bought my new mobo I threw the network card out because the new onboard one was so much better. Remember, not EVERYONE uses linux ;) - When this was a winbloze box it DID work :D

Anyways, dmesg isn't working for me... i have other network cards available to me... Must I go through with having this as my LAN connection and not my mobo's?
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 6:09 pm    Post subject: Reply with quote

I just put in an old 8139 card I found and I compiled them into the kernel - not modules...

STILL DOESNT WORK
I don't care HOW i have to get net connections working but I need it. What the hell am I doing wrong? No matter what fuggin driver I use and how I use it nothing works. Is there a simple way to do this step by step??
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 6:54 pm    Post subject: Reply with quote

Found something interesting...

Right now, at the bottom of the output of dmesg | less it gives me something like this:

8139too Ethernet Driver (and blah blah blah model number blah)

is this a good thing? If so, how can I get these drivers activated and working at the start?
Back to top
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Tue Nov 11, 2003 7:05 pm    Post subject: Reply with quote

That's not true at all.
Do you run PCI card based ATAPI controllers? Or can you not trust your integrated PCI controller?
Integration is not any worse than external components. Quite the opposite: integration reduces latency.
Everything on my notebook is integrated (except the graphics), and I've never had a problem. I have an Epia based car PC with integrated everything, and it works great, with the via-rhine driver. My newest PC has integrated sound and networking (in adition to the normal stuff) and works perfectly as well (another via-rhine chip).
The only integrated part I would never want is integrated video, and that's only because it has a slower chip and uses the system RAM. I'd rather spend $35 on a geForce4MX with 64MB to get top quality 2D and passable 3D.
But if anybody integrated 64MB ino the on-board video, I wouldn't complain.
All three of my boxes run gentoo flawlessly with their integrated parts.
Back to top
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Tue Nov 11, 2003 7:13 pm    Post subject: Reply with quote

Aman, run "lspci" as root, and post the results here.
It's part of the pciutils package.

Unless you have a realtek card in there, you shouldn't be getting a message about the 8139too driver.
It might be trying to load that module because you put it in /etc/modules.autoload or because you compiled that driver into the kernel (there are a few drivers set by default in the packages).
In either case, if the card isn't there, the driver is useless.
lspci will let us know what you have and what drivers you need.
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 7:31 pm    Post subject: Reply with quote

lol run isn't a command...
I'm sorry, i don't understand - what do i type to run lspci?
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 8:24 pm    Post subject: Reply with quote

by the way, I DO have a realtek card I just installed - however when I plug in a cable to the card it doesn't light up like its supposed to - when i compiled support in for that it didn't work.
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Tue Nov 11, 2003 9:05 pm    Post subject: Reply with quote

most of my boxes have intergrated lan+sound. all of them work fine. as well as one box with onboard video.
(those are desktops)
as far as notebooks: all my notebooks have integrated everything (except for PCMCIA WLAN cards, which work fine), and it works fine.
andrew: you THREW IT OUT?? that's retarted. you could have given it to me :)

andrew: emerge pciutils&&lspci|less
Back to top
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Tue Nov 11, 2003 10:49 pm    Post subject: Reply with quote

Aman9090 wrote:
lol run isn't a command...
I'm sorry, i don't understand - what do i type to run lspci?

When I say run "xxx", I mean type in that command at the console prompt.

If you have the realtek card, then it's good that you see that message about 8139too.
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 11:12 pm    Post subject: Reply with quote

ok well...

I decided to load it as a module as MADcow angrily told me to over AIM. I modprobed 8139too and it gave me this error:
Code:
init_modules: No such device
And then goes on about this code and a possibility of invalid parameters blah blah... advice?
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Tue Nov 11, 2003 11:16 pm    Post subject: Reply with quote

warning: this post contains offensive language. COVAR YOUR EYES CHILDARNE
(yes, reading this post with your eyes closed WILL HELP)
Quote:
(18:13:07) me: emerge pciutils
(18:13:09) Andrew G: but i cant
(18:13:12) me: see what url it wants
(18:13:14) Andrew G: i dont have a net connection
(18:13:15) Andrew G: oh ok
(18:13:16) Andrew G: brb
(18:13:18) me: then go to that url on another computer
(18:13:26) me: and download it and burn a fucking cd with it
(18:13:38) me: then mount the cd and copy it to /usr/portage/distfiles



RAWR! rage!

oh yea, and that error is most likely because it doesn't think that you have the card.
make sure it is pushed in all the way and locked in place.
although you don't need to be told that, as you are a hardware guy...

edit: are you sure that the card works?
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 11:32 pm    Post subject: Reply with quote

lol if hardware is my specialty, then the card works ;)

yes I'm pretty damn sure it works because I just yanked it out of another comp (that scentence sucked - i unscrewed it from one and placed it in mine and screwed it into place [correction])

Let me see what happens now...
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 11:35 pm    Post subject: Reply with quote

ok i see my ethernet controller on my mobo and it says it's Rhine-II - not just rhine - apparently meaning that it is a different controller which is why it wasn't working :(

Are there compatable and working Rhine-II drivers by any chance? atleast when i run make menuconfig it doesn't have any...

my realtek card did not show up.
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Tue Nov 11, 2003 11:55 pm    Post subject: Reply with quote

yay some good news... I'm still pissed tho..

I got via-rhine to load. i modprobed it fine.

I still get the same error as always, however.. what the HELL haven't I done yet that I am supposed to? I dont fucking get it :(
Back to top
View user's profile Send private message
digitalsy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 107
Location: North Bend, WA

PostPosted: Wed Nov 12, 2003 12:14 am    Post subject: Reply with quote

Aman9090 wrote:
Saying that onboard components suck is pretty uneducated my friend... It is MUCH faster than my network card - when I bought my new mobo I threw the network card out because the new onboard one was so much better. Remember, not EVERYONE uses linux ;) - When this was a winbloze box it DID work :D

Anyways, dmesg isn't working for me... i have other network cards available to me... Must I go through with having this as my LAN connection and not my mobo's?


Oh I'm sorry, I didn't know that position was spelled posision as you so educatedly pointed out to us each time your gf was on your case, if you even have a gf. I don't like integrated components, mostly because they tend to use cpu/ram that I'd rather keep. Pay less for a mobo with integrated components + use money for pci card and you have yourself a much more efficient setup. YES, integrated works, but with a performance drawback. As for calling me uneducated, i'm sorry my help to you thus far has been unappreciated maybe you need to go back to windows because it seems to me that you don't even understand how to follow simple instructions. We/I have shown quite alot of patience with you - fend for yourself you whiney windows user.
_________________
Always remember you are unique...just like everybody else.
Life sucks, get a helmet
Back to top
View user's profile Send private message
Aman9090
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 234

PostPosted: Wed Nov 12, 2003 12:28 am    Post subject: Reply with quote

That wasn't the reply I was expecting... no way in hell I'd go back to windows :roll: - I was saying it was an uneducated comment, not that YOU were uneducated... but now I think you are because you so in-correctly deciphered my post..

Anyways, does someone actually have helpful information for me?

PS: You can doubt the existence of my beautiful girlfriend, however that would just prove you dont have one of your own if you have nothing better to do then to trash-talk a newbie linux user on the gentoo forums... I'm sorry, I wouldn't be asking this question and having these problems if I had a life and a girl - we have been going out for three years so dont give me that bullshit.

Again, if anyone has an answer I'm more than greatful :)


Last edited by Aman9090 on Wed Nov 12, 2003 12:30 am; edited 1 time in total
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Wed Nov 12, 2003 12:29 am    Post subject: Reply with quote

:sigh: no fighting, children.
what does the output from lsmod look like?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum