LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-24-2003, 01:29 AM   #1
Q-collective
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Gentoo, obviously
Posts: 113

Rep: Reputation: 15
Just screwed my inet connection :(


Hello I was busy tweaking my linux OS a bit and all went fine....till I rebooted the system, Ok what happened?

When I rebooted the system I couldn't connect to the inet anymore. *why not?* Because I tweaked my /etc/modules.conf file (stupid me, did learn something from it though--> ALWAYS make a backup ), what I did mean by tweaking is that I replaced the whole file for another....so I'm not in the pocession anylonger of my original ethernet file *sigh*

So I know were the problem is, question remains: How the heck am I gonna solve it???
I'm happy I moved to linux though, if this happened to me in winnie I most probably got the well known "reinstall" answer
Thank you for your time!
 
Old 06-24-2003, 01:46 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
nooo. a reinstall is not really necessary at all in this case.

Is the network card the only thing that isn't working? If so - find out which card it is ('lspci -vb' can give you the requisite info) and we can figure out which module you want to be loading at boot.
 
Old 06-24-2003, 03:49 PM   #3
Q-collective
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Gentoo, obviously
Posts: 113

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mcleodnine
nooo. a reinstall is not really necessary at all in this case.

Is the network card the only thing that isn't working? If so - find out which card it is ('lspci -vb' can give you the requisite info) and we can figure out which module you want to be loading at boot.
And how do you run lspci -vb?
 
Old 06-26-2003, 12:38 AM   #4
Q-collective
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Gentoo, obviously
Posts: 113

Original Poster
Rep: Reputation: 15
Someone? Anyone!

I would like to solve this problem but dunno were to start
 
Old 06-26-2003, 01:06 AM   #5
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Open up a console, type:

lspci -vb

at the prompt and press enter. Then copy the output to your browser and post it here. Not sure if RH is the same, but in Mandrake 9.1, I can hightlight the console text with the mouse, then right-click->Copy. This command will list the details of all the hardware detected on boot.
 
Old 06-26-2003, 04:02 AM   #6
Q-collective
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Gentoo, obviously
Posts: 113

Original Poster
Rep: Reputation: 15
Thank you very much for that post!
However, because I do not have *any* internet connection atm in RH9 I'll have to actually write the damn output on paper en retype it in here when I finally get into winnie xp
Thanks!
 
Old 06-26-2003, 04:07 AM   #7
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Copy it as a text file onto a DOS-formatted floppy, and transfer it to Win XP that way.
 
Old 06-26-2003, 04:09 AM   #8
Q-collective
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Gentoo, obviously
Posts: 113

Original Poster
Rep: Reputation: 15
That's a great Idea! .... IF I had a working floppy disk....
 
Old 06-26-2003, 04:14 AM   #9
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Are you dual-booting? What kind of filesystem does your Windows partition use? You can probably copy the output to a text file with 'lspci -vb > hardware.txt' which will redirect the output of the lspci program to a file named hardware.txt. Next you'll need to copy it to your Windows partition and from there you should be able to copy/paste the contents to the board.
 
Old 06-26-2003, 04:17 AM   #10
Q-collective
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Gentoo, obviously
Posts: 113

Original Poster
Rep: Reputation: 15
Nope cant do that one I use NTFS for winnie
But thanks for the input!
 
Old 06-29-2003, 02:19 AM   #11
Q-collective
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Gentoo, obviously
Posts: 113

Original Poster
Rep: Reputation: 15
Finally...

I had a few problems with winnie the last few days and didn't had the time to actually workout your tip, but I finally did and here is the result of my lspci -vb command:

[root@CP336226-A root] # lspci -vb
00:00.0 Host bridge: ALi corporation M1647 Northbridge [MAGiK 1/MobileMAGiK 1]
(rev b0)
Flags: bus master, medium devsel, latency 0
Memory at f0000000 (32-bit, prefetcheble)
Capabilities: [b0] AGP version 2.0
Capabilities: [a4] Power Management version 1

00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller (prog-if 00 [Normal de code])
Flags: bus master, slow devsel, latency 0
Bus: Primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ec000000-edefffff
Prefetcheble memory behind bridge: edf00000-efffffff

00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
Subsystem: ALi Corporation USB 1.1 Controller
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at eb800000 (32-bit, non-prefetcheble)
Capabilities: [60] Power Management version 2

00:04.0 IDE interface: ALi Corporation M5229 IDE (rev 4) (prog-if fa)
Subsystem: Asustek Computer, Inc. A7A266 Motherboard IDE
Flags: bus master, medium devsel, latency 32, IRQ 255
I/O ports at d400
Capabilities: [60] Power Management version 2

00:06.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if)
Subsystem: ALi Corporation USB 1.1 Controller
Flags: bus master, medium devsel, latency 32, IRQ 6
Memory at ea800000 (32-bit, non-prefetcheble)
Capabilities: [60] Power Management version 2

00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
Subsystem: ALi Corporation ALi M1533 Aladdin IV ISA Bridge
Flags: bus master, medium devsel, latency 0
Capabilities: [a0] Power Management version 1

00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
Subsystem: Creative Labs CT4832 SBLive! Value
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at b400
Capabilities: [a0] Power Management version 1

00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game port (rev 06)
Subsystem: Creative Labs Gameport Joystick
Flags: bus master, medium devsel, latency 32
I/O ports at b000
Capabilties: [dc] Power Management version 1

00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
Subsystem: Realtek Semiconductor Co.,Ltd. RTL-8029(AS)
Flags: medium devsel, IRQ 10
I/O ports at a800

00:11.0 Bridge: ALi Corporation M7101 PMU
Flags: medium devsel

01:00.0 VGA compatible controller: nVidea Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15) (prog-if 00[VGA])
Subsystem: CardExpert Technology: Unknown device 8888
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
Memory at ec000000 (32-bit, non-prefetcheble)
Memory at ee000000 (32-bit, prefetcheble)
Capabilities: [60] Power Management version 1
Capabilities: [44] AGP version 2.0

So pfiew! Thats it. I wrote this manually so there maybe are a few spelling mistakes, but overal this must be a clear

Last edited by Q-collective; 06-29-2003 at 03:23 AM.
 
Old 06-29-2003, 03:51 AM   #12
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Here's your ethernet card:
Quote:
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
Subsystem: Realtek Semiconductor Co.,Ltd. RTL-8029(AS)
Flags: medium devsel, IRQ 10
I/O ports at a800
Open in a text editor, the file:

/lib/modules/<your kernel version>/modules.description

and search for '8029'. (This is the path for Mandrake 9.1; RH9 might be a bit different) This will locate your ethernet module. If there is more than one entry, make sure you pick the one that matches your RTL-8029(AS). I have an RTL-8139 card, and its module is named in this file as '8139too'. There is another one listed - '8139cp' - but its description says it is for an RTL-8139C+, which is not mine.

Once you have found the name of the file (let's say you found '8029as'), type the command (as root):

modprobe 8029as

This should have installed your ethernet card's driver.
 
Old 06-29-2003, 03:55 AM   #13
Q-collective
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Gentoo, obviously
Posts: 113

Original Poster
Rep: Reputation: 15
Hmmz, is that all?

I will try this and look if it works, if not I'll be here again

Thanks very much for the input!
 
Old 06-29-2003, 03:08 PM   #14
Q-collective
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Gentoo, obviously
Posts: 113

Original Poster
Rep: Reputation: 15
Well, thanks for the tip, but I can't find such fila at all

I tried every file that was in /lib/modules/<your kernel version>/ but didn't anything similar to 8029....did I searched for the entirely wrong thing?
 
Old 06-29-2003, 04:51 PM   #15
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Did you look in /lib/modules/<your kernel version>/modules.description? (where <your kernel version> would look something like '2.4.20-some number'). I would have expected some mention there of '8029'. If not, look in a file in the same directory called 'modules.dep'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem with getting up the inet connection. velder Mandriva 8 09-10-2004 05:23 PM
Connection to Inet problems control_x Linux - Networking 3 09-06-2004 09:01 PM
trying to share an inet connection with XP class_struggle Linux - Newbie 6 08-30-2004 11:28 AM
connection to network via inet and router sowas Linux - Networking 3 07-28-2004 01:37 PM
Inet connection times out zzZoiDzz Linux - Networking 1 01-19-2004 01:33 AM


All times are GMT -5. The time now is 09:10 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration