+ -
当前位置:首页 → 问答吧 → knoppix在字符下怎么设网关,和DNS

knoppix在字符下怎么设网关,和DNS

时间:2004-12-10

来源:互联网

RUTI

作者: fotey   发布时间: 2004-12-10

引用:
最初由 fotey 发表
RUTI

我没用过Knoppix,这是Gentoo下的,希望有帮助:
gateway: /etc/conf.d/net
DSN: /etc/resolv.conf

作者: Jwing   发布时间: 2004-12-10

写法不一样的。
在Knoppix下。是这样写的:
iface eth0 inet static
address ***.***.***.***
netmask ***.***.***.***
gateway ***.***.***.***

#vim /etc/resolv.conf
加入
nameserver ***.***.***.***

作者: YGC   发布时间: 2004-12-10

#ifup eth0


and enjoy

作者: YGC   发布时间: 2004-12-10

看了一下,呵呵,还漏了一点。
Gentoo下是改/etc/conf.d/net
但是在Knoppix下要改/etc/networking/interfaces
也就是
#vim /etc/networking/interfaces
加入
iface eth0 inet static
address ***.***.***.***
netmask ***.***.***.***
gateway ***.***.***.***

作者: YGC   发布时间: 2004-12-10

netcardconfig

This utility in Knoppix helps you to configure the relevant setups.

作者: d00m3d   发布时间: 2004-12-10

热门下载

更多