LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-27-2008, 11:29 PM   #1
venugopalmns
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
how to configure lan cards in fedoracore8


I am unable to connect to the internet through my lan card, ihave cnnected one external lancard to the mother board how to configure them


My ip ranges are
ip address : 198.168.1.4
subnet mask : 255.255.255.0
default gateway : 198.168.1.1


windows xp

198.168.0.120 : 255.255.255.0
 
Old 11-27-2008, 11:33 PM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
How do you connect the external lan card?
 
Old 11-27-2008, 11:39 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
If you connected the card while the computer is running you might search through dmesg to see what the card was called, or try to do an ifconfig -a to see if it shows up. If this is the only NIC card on the machine it will probably be eth0. In which case you will want to do a
Code:
dhcpcd eth0
or
Code:
dhclient eth0
only use eth0 if you know that is where your lan card is set too.

Here is how to set the card if with a static. Again check to see where your card is actaully defaulting too.
Code:
ifconfig eth0 [addr] netmask [netmask]
route add default gw [gateway]

Last edited by jstephens84; 11-27-2008 at 11:40 PM.
 
  


Reply



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
Dell 6400/E1505 wireless not work on FedoraCore8 x86_64 lengogiang Linux - Wireless Networking 1 03-02-2008 06:44 PM
3 LAN Cards, only 2 show up. neilg_cebu Linux - Networking 6 02-07-2007 01:00 AM
problem with two lan cards prasadlinuxguy Linux - Networking 2 05-16-2006 02:23 AM
how to configure two lan cards on one machine b0nd Linux - Networking 4 10-06-2005 09:55 AM
machine has adsl ethernet modem, to make it gateway over lan do i need more lan cards b0nd Linux - Networking 2 10-04-2005 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration