[lkml]   [2001]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectBOOTP and 2.4.14

I'm trying to configure a system to boot with root on NFS. I have it
working, but there are problems.

The most serious are that the DNS domain name is set wrongly, and NIS
domain's not set at all.

The IP address offered and accepted in

The DNS domain name being set is 168.1.20, and the host name 192.

I'm looking at the ipconfig.c source, around line 1324 where I see this
case 4:
if ((dp = strchr(ip, '.'))) {
*dp++ = '\0';
strncpy(system_utsname.domainname, dp, __NEW_UTS_LEN);
system_utsname.domainname[__NEW_UTS_LEN] = '\0';
strncpy(system_utsname.nodename, ip, __NEW_UTS_LEN);
system_utsname.nodename[__NEW_UTS_LEN] = '\0';
ic_host_name_set = 1;

I can see how the dnsdomain name's being set, and it does not look
right to me.

If someone can prepare a patch for me, I'll be delighted to test it.

John Summerfield

Microsoft's most solid OS:

Note: mail delivered to me is deemed to be intended for me, for my

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:18    [W:0.076 / U:2.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site