Best of Technical Support
I want to convert my existing proxy server for my home network to Linux. But every distribution I have used has never detected both network cards until SuSE 6.3. I can manually get the card on the LAN to find the DHCP server, and the NT gives it an IP address, but can never ping that server; if I change it to a static IP address, it pings the NT server fine. The real problem is I have a cable modem on the other NIC, on which I have set up DHCPclient. I have viewed and edited the sbin/init.d/dhclient file to make sure it has the ifconfig $NETDEV 0.0.0.0 up statement in it. I have read the FAQ and I still cannot get this to work. —Stephen Heaton, firstname.lastname@example.org
All recent distributions work more or less the same in regard to more than one Ethernet card if they are PCI, as they can all be autodetected easily. You may, however, need to add an alias for eth1 in /etc/conf.modules. For example, your conf.modules could look like this:
alias eth0 tulip alias eth1 eepro100
After that, you simply need to ifconfig each card in the usual fashion.
Are you sure that Linux does receive a correct IP, netmask and broadcast from the DHCP server? You should type ifconfig eth0 (or eth1) and compare the info you're getting from DHCP with the info you're setting by hand.
The last part, I'm not too sure about. I myself haven't had much luck with SuSE's DHCP client, while Red Hat's dhcp client has worked better for me with no special configuration required. —Marc Merlin, email@example.com
Getting Started with DevOps - Including New Data on IT Performance from Puppet Labs 2015 State of DevOps Report
August 27, 2015
12:00 PM CDT
DevOps represents a profound change from the way most IT departments have traditionally worked: from siloed teams and high-anxiety releases to everyone collaborating on uneventful and more frequent releases of higher-quality code. It doesn't matter how large or small an organization is, or even whether it's historically slow moving or risk averse — there are ways to adopt DevOps sanely, and get measurable results in just weeks.
Free to Linux Journal readers.Register Now!
- Hacking a Safe with Bash
- Django Models and Migrations
- Secure Server Deployments in Hostile Territory, Part II
- The Controversy Behind Canonical's Intellectual Property Policy
- Home Automation with Raspberry Pi
- Huge Package Overhaul for Debian and Ubuntu
- Shashlik - a Tasty New Android Simulator
- Embed Linux in Monitoring and Control Systems
- KDE Reveals Plasma Mobile
- diff -u: What's New in Kernel Development