[FSO] default etc/network/interface suggestion

Pietro "m0nt0" Montorfano monto84 at gmail.com
Sun Mar 15 01:18:18 CET 2009

Hi, what about a little review of the etc/network/interface file?
something to fit the freerunner, something like

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback

# Wireless interfaces
iface eth0 inet dhcp
	wireless_mode managed
	wireless_essid any

# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
allow-hotplug usb0
iface usb0 inet static
	up echo nameserver > /etc/resolv.conf
	up echo nameserver >> /etc/resolv.conf

# Bluetooth networking
iface bnep0 inet dhcp
------------------------------- EOF

But the main thing, and this should be corrected i think is the default
configuration of the DNS, default lines are:
up echo nameserver >> /etc/resolv.conf
up echo nameserver >> /etc/resolv.conf
so, everytime i powerup my FR it will add 2 lines in the file
resolv.conf.... just imagine if i don't correct this and i don't flash
too often how big resolv.conf should be.
May be a little correction like
up echo nameserver > /etc/resolv.conf
up echo nameserver >> /etc/resolv.conf
can do the trick :D



More information about the devel mailing list