LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network Expert............???? (https://www.linuxquestions.org/questions/linux-networking-3/network-expert-140298/)

avols143 01-30-2004 05:53 AM

Network Expert............????
 
Hello........

I just installed Redhat Linux 9 on my system and I have WindowsXP too.
I am trying to correct internet connection problem from atleast one week.
But I am faild...

I have Realtek 8139 PCI Ethernet card. And this card is supporting well to my currently kernel 2.4.20-8. And I have these files(8139too.o & 8139cp.o) in directory /lib/modules/2.4.20-8/kernel/drivers/net.

I make a file named modprobe.conf in /etc and add this line in this file.
alias eth0 8139too
I added this line also in /etc/modules.conf

** I does these command as root
1) insmod 8139too
2) modprobe 8139too
Both of these commands replied " The module is already exist..."
And at booting process
Bringing netword enterface eth0 [Fail]

But I am still unable to setup internet... Actually I have ADSL connection and an externel modem with username and password. My external modem is connected with LanCard...pleaseeeeeeeee write me yours suggestions for configure all of this...........Thanks

aikempshall 01-30-2004 07:09 AM

I'm no expert. My RealTek card worked first time on RH9.

Have you tried ifconfig?

I would expect to see something like

eth0 Link encap:Ethernet HWaddr 00:10:A7:09:FB:07
inet addr:10.0.0.3 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3055 errors:0 dropped:0 overruns:0 frame:0
TX packets:1850 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1617844 (1.5 Mb) TX bytes:317184 (309.7 Kb)
Interrupt:10 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16117 errors:0 dropped:0 overruns:0 frame:0
TX packets:16117 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1106319 (1.0 Mb) TX bytes:1106319 (1.0 Mb)



Try dmesg to see whether at any stage the Kernal recognised the NIC

Just for luck have you tried ifconfig eth0 up

or

ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up

avols143 01-30-2004 11:49 AM

Here is the following informations...........

** At booting time of Linux the following service is not working..
Bringing up interface eth0 [Fail]

In my Hardware Browser I have the following information in the Network Device.

Network Device: RTL-8139/8139C/8139C+
Manufacturer: Realtek
Driver: 8139too
Device: /dev/eth

And I checked the following commands to check Internet Configurations.....

[root@localhost temp]# insmod 8139too
Using /lib/modules/2.4.20-8/kernel/drivers/net/8139too.o
insmod: a module named 8139too already exists

[root@localhost /]# lspci -v
Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at a000 [size=256]
Memory at ef010000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [50] Power Management version 2

[root@localhost /]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:FC:63:4E:6B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:363 errors:0 dropped:0 overruns:0 frame:0
TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:22356 (21.8 Kb) TX bytes:21216 (20.7 Kb)
Interrupt:11 Base address:0x9000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7935 errors:0 dropped:0 overruns:0 frame:0
TX packets:7935 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:541536 (528.8 Kb) TX bytes:541536 (528.8 Kb)

[root@localhost /]# netstat -i
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 ..1500 0...369 .....0 ..........0 .........0 .....327 ......0 .........0 .......0 .....MRU
lo .....16436 0 ..9645 ....0 .........0 .........0 ....9645 ......0 .........0 .......0 ....LRU

**************************

JordanH 01-30-2004 02:48 PM

I would bet that the problem isn't the modules for your network card. RH9 should detect it just fine upon installation.

I bet your problem lies with your ADSL configuration. You can't just fire-up your ethernet adapter and expect it to work. I will further bet that you have your eth0 setup for DHCP (hence the fail on bootup)

Try this command
adsl-setup
After you have configured your adsl connection start it.
adsl-start

You will then need to ensure this is started on bootup - I'll leave this as an exercise for the user.

(I seem to recall that the version of PPPoE that was shipped with RH9 gave me problems... consider upgrading to the latest rp-pppoe client)

Regards,
J.


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