LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Just screwed my inet connection :( (https://www.linuxquestions.org/questions/linux-software-2/just-screwed-my-inet-connection-67627/)

Q-collective 06-24-2003 12:29 AM

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!

mcleodnine 06-24-2003 12:46 AM

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.

Q-collective 06-24-2003 02:49 PM

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?

Q-collective 06-25-2003 11:38 PM

Someone? Anyone!
 
I would like to solve this problem but dunno were to start :newbie: :study:

geoff_f 06-26-2003 12:06 AM

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.

Q-collective 06-26-2003 03:02 AM

Thank you very much for that post!:cool:
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:D
Thanks!:cool:

geoff_f 06-26-2003 03:07 AM

Copy it as a text file onto a DOS-formatted floppy, and transfer it to Win XP that way.

Q-collective 06-26-2003 03:09 AM

That's a great Idea! .... IF I had a working floppy disk....:( :D

mcleodnine 06-26-2003 03:14 AM

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.

Q-collective 06-26-2003 03:17 AM

Nope cant do that one:( I use NTFS for winnie :(
But thanks for the input!:cool:

Q-collective 06-29-2003 01:19 AM

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 :)

geoff_f 06-29-2003 02:51 AM

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.

Q-collective 06-29-2003 02:55 AM

Hmmz, is that all?:D

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

Thanks very much for the input!

Q-collective 06-29-2003 02:08 PM

Well, thanks for the tip, but I can't find such fila at all:rolleyes:

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?

geoff_f 06-29-2003 03:51 PM

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'.


All times are GMT -5. The time now is 10:23 AM.