On Mon, Dec 1, 2008 at 4:33 PM, Karl Dalen <k_dal2 at hotmail.com> wrote: > > I suppose I have some other problem with dual interfaces that > I need to understand. I could only reach out though atge0 using > IP numbers. Using domain names failed. Have never used multiple > interfaces before. Don't know which name server and gate way are > used for look ups when I have wired and wireless iterfaces that are > both DHCP managed. Is there some way to configure this ? > Is there a concept of "Primary interface" ? Ideally, you would like > the network to fall back to wlan if you have wired interface connected and > up. > Otherwise, it should use the wifi interface.
If searching names works such as: $ nslookup google.com Server: 172.31.169.101 Address: 172.31.169.101#53 Non-authoritative answer: Name: google.com Address: 72.14.205.100 Name: google.com Address: 74.125.45.100 Name: google.com Address: 209.85.171.100 it's probably nsswitch, make sure you have something similar to: $ grep dns /etc/nsswitch.conf hosts: files dns # Added by DHCP ipnodes: files dns # Added by DHCP If the nslookup search did not work, check your /etc/resolv.conf and make sure the nameserver statements point to your name server. If you can't reach networks outside of the one you are in, check the defaultrouter, search for a line that says default or 0.0.0.0 under the Destination column after running: $ netstat -rn And finally, to check out how dhcp is configured (if it still applies), check out /etc/default/dhcpagent, to manually find out if a parameter is being correctly sent by the dhcp server you can: $ dhcpinfo -i e1000g0 Router to check the default route sent $ dhcpinfo -i e1000g0 DNSserv to check what nameservers are being sent The full list is here for ipv4: /etc/dhcp/inittab In general, all of this is managed by NWAM on a default install. I hope this helps
