Linux - NewbieThis 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.
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.
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)
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
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..???
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.