Novell Home

Trouble with two NICS on a laptop.

Novell Cool Solutions: Question & Answer

Rate This Page

Reader Rating  stars  from 5 ratings

Posted: 17 Mar 2005

Q:
I am experiencing the following strange issue with DHCP: when connecting to a wireless network through ath0 (the wireless NIC), the DHCPCD populates the IP address and the DNS IP. However, when doing the same through eth0 (wire), the DHCPCD gets an IP address, but never sets the DNS IP and hence I cannot use my laptop for browsing the Internet.

However, there should be absolutely no difference between wireless and wired network in my current environment.

Does anybody has any clue what could be wrong? Is there a setting in any of the config files that could be wrong.

A:
It's because the resolv.conf has been updated by the first inteface ( ath0) which has come up and the second interface ( eth0) cannot modify that file. In your case, do:

"rcnetwork stop" and "ifup eth0".

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

Reader Comments

  • A better (and more permanent) way to fix this is to modify the wireless card found under /etc/sysconfig/network/ Look for a file named "ifcfg-eth-id-xx:xx:xx:xx:xx:xx", where all those x's match the MAC address of the wireless card. Edit that file and add these two lines: DHCLIENT_MODIFY_RESOLV_CONF='yes' DHCLIENT_SET_DEFAULT_ROUTE='yes' Works like a charm on my Dell Latitude D600 which has an onboard Dell NetXtreme onboard gigabit nic, and an Intel 2200bg wireless card. --Alex
  • Sorry- The file you want to look for should be ifcfg-wlan-id-xx:xx:xx:xx:xx:xx, not ifcfg-eth-id... just goes to show how wonderful my memory is :) --Alex

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.