Re: networking
On 01/14/2011 03:21 PM, Bob Proulx wrote:
> Without 'auto' calling /etc/init.d/networking will bring the interface
> down. But it won't bring the interface up. With 'auto' there then it
> will bring the interface up. I just verified that now with a quick
> test on a Lenny and Squeeze machine. And you definitely want to keep
> 'allow-hotplug' there so that link status events will trigger
> configuration too.
so how exactly would it look in the interfaces file. here is mine:
auto lo
iface lo inet loopback
#iptables loaded here:
pre-up iptables-restore < /etc/firewall-rules
# static setup
auto eth0
iface eth0 inet static
address 192.168.10.2
netmask 255.255.255.0
dns-nameservers 4.2.2.3 208.67.222.222 208.67.220.220 4.2.2.2 192.168.10.1
gateway 192.168.10.1
did I put that iptables entry in? I don't remember.. should it be there?
--
Paul Cartwright
Registered Linux user # 367800
Reply to: