On Sat, Apr 28, 2007 at 03:48:39PM -0400, Gloria Brown wrote: > On Sat, 2007-04-28 at 15:37 -0400, Douglas Allan Tutty wrote: > > Not trimming on purpose, see below: > > > > On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote: > > > I installed Etch on a stand-alone workstation which is the sole host on > > > a local network and has Internet access through a hardware firewall. > > > > > > I have a MB ethernet chip, but am using a NIC card. Before the card was > > > eth0, but with installation of Etch on a new disk, it apparently changed > > > to eth1. [snip examples of the network not working] > > > > > > /etc/hosts: > > > > > > 127.0.0.1 localhost > > > 192.168.1.1 teufel.localdomain teufel [snip standard ipv6 entries] > > > > > > > > $ host hartford-hwp.com > > > hartford-hwp.com has address 64.227.154.66 > > > hartford-hwp.com mail is handled by 5 inbound.registeredsite.com. > > > > > > $ netstat -rn teufel > > > Kernel IP routing table > > > Destination Gateway Genmask Flags MSS Window irtt > > > Iface > > > 192.168.111.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 > > > 0.0.0.0 192.168.111.1 0.0.0.0 UG 0 0 0 eth1 What host is this? ^^^ ^
> > > > > > In /etc/network/interfaces: > > > > > > auto lo > > > iface lo inet loopback > > > > > > auto eth1 > > > allow-hotplug eth1 > > > iface eth1 inet dhcp > > > address 192.168.1.1 > > > netmask 255.255.255.0 > > > network 192.168.1.0 > > > broadcast 192.168.1.255 > > > Why both dhcp _and_ static entries? > > > In /etc/nsswitch.conf, I have: > > > > > > ... > > > hosts: files dns > > > networks: files > > > # ifconfig > eth1 Link encap:Ethernet HWaddr 00:A0:C9:B4:D5:A8 > inet addr:192.168.111.2 Bcast:192.168.111.255 > Mask:255.255.255.0 > inet6 addr: fe80::2a0:c9ff:feb4:d5a8/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:13510 errors:0 dropped:0 overruns:0 frame:0 > TX packets:8205 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:18629272 (17.7 MiB) TX bytes:601099 (587.0 KiB) > > lo Link encap:Local Loopback [snip] To summarize what I see: Your nic gets assigned as eth1 by the kernel. If this changes, see man interfaces; there's a get-mac-address.sh whereby you can set up interfaces by mac address. interfaces configures eth1 using dhcp (the other options are ignored). If you wish to use static, change dhcp to static. Dhcp is assigning this interface 192.168.111.2 The routing table is routing network 192.168.111.0 to a gateway of 192.168.111.1 (I'm assuming that this is the ip of your firewall box). Your hosts file contains your hostname at 192.168.1.1 and I think this is the crux of the problem. I've never used a hardware firewall (I've always been on dial-up) nor dhcp. I don't know how to have your NIC setup with dhcp but have an entry for that NIC in /etc/hosts. A lot of people on this list use dhcp so hopefully someone jumps in and tells you how to use it consistantly. Barring that, I would suggest: fix /etc/hosts so that the 192.168.1.1 is changed to 192.168.111.2. fix interfaces to take out the extraneouse options. Good luck, Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]