[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

Connecting my new Linux Box to my network.

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!  
1 Solution
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).
dyma82Author Commented:
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???

at least a DHCP client service must run
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

dyma82Author Commented:
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!
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! :)

dyma82Author Commented:
Wow...thanks a lot for the info...I will try it tonight!
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now