[TriLUG] debian networking

Nathan Conrad conrad at cs.unc.edu
Mon Mar 18 06:46:00 EST 2002


On Sun, Mar 17, 2002 at 10:47:59PM -0500, Todd Coffey wrote:
<SNIP>
> 	Question:
> 	How do I initialize the network settings if I skipped those
> menus in the install?
> 

Most of the menus are stored as shell scripts in
/usr/lib/base-config. However, I do not see the network config script
there. I think that copying a good /etc/network/interfaces would make
your network happy. Here is mine (a bit more complicated than most):

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
# automatically added when upgrading
auto eth0 eth1
iface eth0 inet dhcp
	#address 192.168.1.2
	#netmask 255.255.255.0
	#network 192.168.1.0
	#broadcast 192.168.1.255
	#gateway 192.168.1.1
	#hostname rdu162-230-174.nc.rr.com.
	#up /etc/network/ddclient
iface eth1 inet static
	address 192.168.2.1
	netmask 255.255.255.0
	network 192.168.2.0
	broadcast 192.168.2.255
	# gateway 192.168.1.2

iface ppp0 inet ppp
	provider cs
	up /etc/ipcheck/command
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

eth0 is set up using dhcp. eth1 has a static address.

-Nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020318/02d4d2d6/attachment.pgp>


More information about the TriLUG mailing list