Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Connecting my new Linux Box to my network.

Posted on 2002-07-08
Medium Priority
Last Modified: 2013-12-06
I have a little network with 5 Window 2k computers. It is a peer-to-peer network. To connect to it the computer just has to belong to the same workgroup. There is not any Domain defined here. My router-gateway runs the DHCP service, so every computer in the network is setup to get is IP address from it. Now, I need to connect my Laptop to the network.
My Laptop run RedHat 6.1. It has a PCMCIA network card, which is properly working with Linux already. What do I have to do in order to connect this Linux computer to my network???

I already tried some configuration programs, but they ask for Hosts. I could not find any means to set this Linux computer to get its IP address automatically from the DHCP server(my router).

Any help???
Thanks in advance!  
Question by:dyma82
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 7140462
Have you tried netcfg?

As root, launch netcfg and add an ethernet interface ( eth0 ) and select dhcp as the configuration protocol. (De)select 'activate at boot' as apropriate for your system. Under names you'll have to provide the IPs for your nameservers (up to 3).

Author Comment

ID: 7140590
My router is running the DHCP service in my network. It distributes IP addresses to every computer that connect the network...Am I right?

Have all computers connecting the network to have the DHCP service running???  I thought only the one computer responsible for assigning IP addresses over the network, was required to run the DHCP service....Is that right???

LVL 51

Expert Comment

ID: 7141338
at least a DHCP client service must run
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.


Author Comment

ID: 7141374
What you meant is :

One and only one computer should run the "DHCP server" service, and all other computers connecting the network should run the "DHCP client" service?????

Thanks for your time!
LVL 51

Expert Comment

ID: 7141419

Accepted Solution

kylar earned 200 total points
ID: 7141921
Check to see if your linux machine has gotten an address properly.. at the prompt, type 'ifconfig -a' (might need to type '/sbin/ifconfig -a' - and look for an entry that says 'eth0:' and a bunch of stuff after it, that should tell you if the ethernet card has properly leased an IP. as MFCRich said, you can use netcfg to configure it if it's not working properly. as to connecting to the windows machines, you will need to use Samba, a windows-networking client/server. The client(smbclient)  can be used to attach to any shares that you have. More information can be found by typing 'man smbclient' at the prompt. To share files FROM the linux machine, you will need to install the samba daemon and have it running in the background. More information as to how this can be done can be found here:


I've also found the samba chapters of Sams 'RedHat Linux Unleashed' and 'Red Hat Linux System Administration' books to be helpful on these topics.

Cheers! :)


Author Comment

ID: 7143580
Wow...thanks a lot for the info...I will try it tonight!

Expert Comment

ID: 9088962
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question