w********e 发帖数: 557 | 1
ezl[10:16:46]/etc$ dpkg -l|grep dhc
ii dhcp3-client 3.1.1-1ubuntu2
DHCP client
ii dhcp3-common 3.1.1-1ubuntu2
common files used by all the dhcp3* packages |
|
a**********k 发帖数: 1953 | 2 不错, 基本功扎实。
补充一点:
inode carries the map of where the data part of a file is,
while path carries the name part of a file (the complete path
including dentries and the filename).
Also, if DHCP is enabled, it could overwrite what is configured in /etc/
resolve.conf.
In that case, you need to modify your dhcp client config as well, say
/etc/dhcp3/dhclient.conf.
文件系统中 inode 和 path 的区别。我回答是 inode 是文件系统的一个数据结构,指
向某个磁盘上的文件;而 path 是由多个 struct dentry 组成的,每个 dentry 描述
了 inode 的父子关系。
最后一问是如何修改 DNS 服务器?我说可以修... 阅读全帖 |
|
Z**0 发帖数: 1119 | 3 我手头用的是老版本的ubuntu。
新版本用的应该还是dhclient这个组件。
修改:
/etc/dhcp3/dhclient.conf
add:
prepend domain-name-servers "your dns IP";
remove "domain-name-servers" from the "request" line.
It might work. |
|
s******c 发帖数: 1920 | 4 很小的局域网里面,
一个dhcp请求要20秒以上才拿到应答,
dhcp server在ubuntu 10.4上
会是什么问题的?
多谢 |
|
|
w*s 发帖数: 7227 | 6 so i have a uml file system for ubuntu which has the min set of files.
static ip works, now moving to dhcp.
guess i need /etc/dhcp3, /etc/network
what else pls ?
thanks again ! |
|
w*s 发帖数: 7227 | 7 /etc/dhclient.conf r,
/usr/share/synce-hal/dhclient.conf r,
./apparmor/init/network-interface-security/sbin.dhclient3
# This is a sample configuration file for dhclient. See dhclient.conf's
./dhcp3/dhclient.conf
grep: ./blkid.tab: No such file or directory
/etc/dhclient.conf r,
/usr/share/synce-hal/dhclient.conf r,
./apparmor.d/sbin.dhclient3
what are these apparmor files pls ? |
|