LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2005, 06:49 AM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
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.
 
Old 02-19-2005, 06:52 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
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
 
Old 02-19-2005, 07:57 AM   #3
JoannesX
Member
 
Registered: Dec 2004
Location: Brazil
Distribution: Slackware
Posts: 99

Rep: Reputation: 15
have you already run "netconfig"?
 
Old 02-19-2005, 08:16 AM   #4
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
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..???
 
Old 02-19-2005, 10:28 AM   #5
samel_tvom
Member
 
Registered: Aug 2004
Posts: 133

Rep: Reputation: 15
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!
 
Old 02-19-2005, 11:51 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
  


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
Debian Boot Up Problem - stuck at "BR" & "I" jc70417 Debian 2 08-30-2005 05:36 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
RedHat Alpha 6.2 eth0 "delaying initialization" problem TotalDefiance Linux - Software 2 07-26-2005 03:06 AM
eth0 problem - system saying "check cable?" Lui Linux - Networking 5 06-12-2004 05:07 PM
"Determining IP information for eth0... failed." (DHCP problem) einnocent Linux - Networking 4 10-20-2003 01:59 AM


All times are GMT -5. The time now is 11:46 AM.

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