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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-19-2005, 05:49 AM
|
#1
|
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020
Rep:
|
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.
|
|
|
02-19-2005, 05:52 AM
|
#2
|
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Rep:
|
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
|
|
|
02-19-2005, 06:57 AM
|
#3
|
Member
Registered: Dec 2004
Location: Brazil
Distribution: Slackware
Posts: 99
Rep:
|
have you already run "netconfig"?
|
|
|
02-19-2005, 07:16 AM
|
#4
|
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020
Original Poster
Rep:
|
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..???
|
|
|
02-19-2005, 09:28 AM
|
#5
|
Member
Registered: Aug 2004
Posts: 133
Rep:
|
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!
|
|
|
02-19-2005, 10:51 AM
|
#6
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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 04:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|