Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: network configuration: msg#00001

Subject: Re: network configuration
Hey,
There's a nifty little tool called neat (aka system-config-network) you can use to set up your network settings. I don't use gnome or kde anymore, so I can't tell you exactly where it would be on your menu, but you can open up a terminal and type "neat" or "system-config-network" to open it. It opens up in the "Devices" tab. You should see your network card listed. Double click it to bring up a dialog to set your IP info (DHCP if that's what you're using, or if you have a static IP address you'll enter it manually here). There are 3 tabs in this dialog, but you only need to worry abuot the first one (general). Click ok once you're done, then go to the DNS tab on the main window and enter the DNS servers for your ISP (ipconfig /all in win xp will give you this info if you don't have it). After that, File->Save then quit the program. It will say you may need to reboot etc etc, but all you really need to do (from the terminal again) is run the command:

/etc/init.d/network restart

After that you should be good to go. In case you are interested in what's going on behind the scenes, I'll tell you what neat is doing. As you may know just about everything in linux can be configured in a text file somewhere. Most of the network configuration information lives in:

/etc/sysconfig/network (file containing hostname to use, and toggle networking on/off) /etc/sysconfig/network-scripts/ (directory containing per-device information for each NIC)

Every network card in your system will have a file in /etc/sysconfig/network-scripts/ called "ifcfg-<devicename>". So in the case of a single network card (called eth0), the settings are stored and can be changed in /etc/sysconfig/network-scripts/ifcfg-eth0. Here's an example of what it looks like:
# Intel Corp.|82540EM Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:0D:9D:FF:23:5D
IPADDR=172.16.25.53
NETMASK=255.255.0.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no
GATEWAY=172.16.255.1
IPV6INIT=no

You may notice that DNS information isn't stored here. That's because it's a system-wide type of thing, not specific to any one network card. Host resolution and DNS info is stored in a file called /etc/resolv.conf. You can get more information about that by typing "man resolv.conf" at the command line, but the basics are you can use the nameserver directive to list your DNS servers like so:

search cms-stl.com dhcp.cms-stl.com # tells it to try and tack on cms-stl.com etc to hostnames if it can't find them
nameserver 172.16.1.1 # dns server #1
nameserver 172.16.1.4 # dns server #2

Modifying this file will take effect immediately, nothing needs to be restarted.

I hope some of this info can help you get online. Welcome to Linux, I hope you enjoy your adventure!

-Travis

Timothy Arnold wrote:

Hello,
I recently installed Fedora Core 3 on my computer and am not sure how to
configure the system so that it can access the Internet. It recognizes
the ethernet device to which I am plugged in to. I am at a college
campus and plugged directly into an ethernet port in the wall. I copied
down information I thought I might need from XP's ipconfig before going
on to install Fedora (things like what my DNS suffix, IP, subnet mask,
and default gateway were at that time). I am new to Linux and Fedora and
would appreciate any help anyone can offer. Thanks!

Timothy Arnold
timarnold@xxxxxxxxxxx



--
Fedora-config-list mailing list
Fedora-config-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-config-list



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe