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, email@example.com
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, firstname.lastname@example.org
Webinar: 8 Signs You’re Beyond Cron
On Demand NOW
Join Linux Journal and Pat Cameron, Director of Automation Technology at HelpSystems, as they discuss the eight primary advantages of moving beyond cron job scheduling. In this webinar, you’ll learn about integrating cron with an enterprise scheduler.View Now!
|Non-Linux FOSS: Vienna, Not Just for Sausages||Jun 02, 2015|
|June 2015 Issue of Linux Journal: Networking||Jun 01, 2015|
|June 2015 Video Preview||Jun 01, 2015|
|My Humble Little Game Collection||May 28, 2015|
|New Linux Based OS Brings Internet of Things Closer to Reality||May 27, 2015|
|Non-Linux FOSS: All the Bitcoin, None of the Bloat||May 26, 2015|
- Non-Linux FOSS: Vienna, Not Just for Sausages
- June 2015 Issue of Linux Journal: Networking
- New Linux Based OS Brings Internet of Things Closer to Reality
- Initializing and Managing Services in Linux: Past, Present and Future
- Dr Hjkl on the Command Line
- Using Hiera with Puppet
- My Humble Little Game Collection
- Goodbye, Pi. Hello, C.H.I.P.
- Gartner Dubs DivvyCloud Cool Cloud Management Vendor
- Infinite BusyBox with systemd