Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've setup a simple "server" type box with no X11 using Arch Linux. I've configured it to use DHCP when plugged into a network, which is fine.
I'm told the end user may sometimes want to connect it directly to a Windows PC (presumably in its default network configuration of using DHCP) with either a crossover cable or a hub, but no DHCP server. They want to access a few files on the box, currently shared with Samba.
I was thinking I could just install dhcpd and allow them to start and stop it, but it seems that dhcpd requires a statically configured IP on the interface which matches the subnet definition it has. It can't serve an address to the machine's own interface as the first client! (At least, I can't see how).
Is there a simple solution to this, or should I be looking at Avahi/Zeroconf? I have very little understanding of those so if people think they could be the right solution I need a couple of hints to narrow my research please.
Note, these shared files are text files not media files, in case it makes a difference.
Hi Ken.. thanks for the suggestion, but the problem is that the end-user may plug this box into networks where DHCP is available, or they may try and link it directly to another single PC where no DHCP is available. I need it to work in both situations automatically, ideally without user intervention. Configuring network settings by hand is definitely out, although switching profiles or starting and/or stopping a daemon would be OK (I've created a text menu system for them).