LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with "eth0" (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-eth0-292201/)

b0nd 02-19-2005 05:49 AM

problem with "eth0"
 
Hello all,

i'm using slackware 10.0.
i think my system is not detecting "lan card" (eth0).
....
while on windows its working properly but on linux when i'm .......
........
typing ifconfig........its giving the following readings
...
.root@darkstar:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:A1:B0:10:19:2E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:61.95.214.56 P-t-P:202.56.221.13 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:2024 errors:1 dropped:0 overruns:0 frame:0
TX packets:1922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2080863 (1.9 Mb) TX bytes:174924 (170.8 Kb)
....
seeking for help........
regards.

musicman_ace 02-19-2005 05:52 AM

It is detecting your card, but it isn't recieving an IP address. If you have DHCP on your network:
check the cable
check the network card's indicator light

If you set the IP manually, set it again
ifconfig eth0 10.0.0.1
change the 10.0.0.1 to whatever you feel like

JoannesX 02-19-2005 06:57 AM

have you already run "netconfig"?

b0nd 02-19-2005 07:16 AM

The cable wire is perfectly all right..........( as lan is working properly on windows).........
lights of lan card are all on.............
.........
now tell me where the problem is..???
...
and i've haven't tried "netconfig" yet.........why is it for..???

samel_tvom 02-19-2005 09:28 AM

show some courtesy!
 
We just want to help you so don't get mad!

Now, if you have a dhcp server running (if you recieved an ip automatically in windows you probably have)
then type (as root)
#dhcpcd eth0
if you instead have dhclient as your dhcp client, typ
#dhclient

If you don't have a dhcp server (if you have to enter your ip manually in windows)
then you have to set it as musicman_ace described

If you have a gateway and no dhcp server, you have to add it manually by typing
#route add default gw 192.168.1.1
or whatever your gateways ip is.

good luck!

masand 02-19-2005 10:51 AM

post the content of he file /etc/rc.d/rc.inet1.conf

and when ur ethernet card does not work

post the O/P of

lspci

regards


All times are GMT -5. The time now is 02:54 AM.