Operating system version: 6.06
[Network enabling]
Reference: http://wiki.debian.org/NetworkConfiguration#Using_DHCP_to_automatically_configure_the_interface
Using DHCP to automatically configure the interface
If you're just using DHCP then all you need is something like:
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
Configuring the interface manually
If you're configuring it manually then something like this will set the default gateway (network, broadcast and gateway are optional):
auto eth0
iface eth0 inet static
address 192.168.0.7
netmask 255.255.255.0
gateway 192.168.0.254
[Update sourcelist]
Ref: http://coolwinding.blog.163.com/blog/static/112240939201011294543291/
# 这个ftp的源速度很快(将http改为ftp也可)
deb http://ftp.debian.org/debian/ squeeze main non-free contrib
deb http://ftp.debian.org/debian/ squeeze-proposed-updates main non-free contrib
#deb http://ftp.us.debian.org/debian/ squeeze main non-free contrib
#deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates main non-free contrib
本文介绍在Debian系统中如何使用DHCP自动配置网络接口及手动设置静态IP的方法,并提供快速的软件源配置。
2320

被折叠的 条评论
为什么被折叠?



