>
> Set your kernel command line correctly, the format is:
>
> HOSTNAME.NIS_DOMAINNAME
>
> It has been like this since ancient times :-)
>
I don't understand. According to nfsroot.txt all I need is this:
[root@numbat root]# cat /misc/fd0/syslinux.cfg
default linux
prompt 1
timeout 1
label linux
kernel vmlinuz
append root=/dev/nfs ip=bootp initrd=initial.dsk
[root@numbat root]#
The kernel messages say it's got the domain name, but by the time it
gets to init (I altered /etc/rc.d/rc.sysinit to see) it's using the IP
address for host/domain names, and that's what I see in the code I
cited.
The nis domain's not being set, but I've not established the kernel's
at failt.
According to the debugging code which I've enabled, it's seeing
extensions 1, 3, 6, 55, 45, 46 and 15.
1 looks like the netmask, 3, 6, 44 and 45 are all the IP address of the
server (it does several things so that's probably okay), 46 has the
value 08 and 15 is the DNS domain name.
The client's IP address isn't reported by the debugging code, but is
set to the value I expect.
I see the extensions are parsed in ic_do_bootp_ext which silently
ignores 44, 45 & 46.
Here are some kernel messages from booting the client:
Nov 16 02:46:51 192 kernel: IP-Config: Entered.
Nov 16 02:46:52 192 kernel: IP-Config: eth0 UP (able=1, xid=46e93477)
Nov 16 02:46:52 192 kernel: Sending BOOTP requests .DHCP/BOOTP: Got
extension 1: ff ff ff 00
Nov 16 02:46:52 192 kernel: DHCP/BOOTP: Got extension 3: c0 a8 01 01
Nov 16 02:46:52 192 kernel: DHCP/BOOTP: Got extension 6: c0 a8 01 01
Nov 16 02:46:52 192 kernel: DHCP/BOOTP: Got extension 44: c0 a8 01 01
Nov 16 02:46:52 192 kernel: DHCP/BOOTP: Got extension 45: c0 a8 01 01
Nov 16 02:46:52 192 kernel: DHCP/BOOTP: Got extension 46: 08
Nov 16 02:46:52 192 kernel: DHCP/BOOTP: Got extension 15: 4f 73 32 2e
41 6d 69 2e 43 6f 6d 2e 41 75
Nov 16 02:46:52 192 kernel: OK
Nov 16 02:46:52 192 kernel: IP-Config: Got BOOTP answer from
192.168.1.1, my address is 192.168.1.20
Nov 16 02:46:52 192 kernel: IP-Config: Complete:
Nov 16 02:46:52 192 kernel: device=eth0, addr=192.168.1.20,
mask=255.255.255.0, gw=192.168.1.1,
Nov 16 02:46:52 192 kernel: host=192.168.1.20,
domain=Os2.Ami.Com.Au, nis-domain=(none),
Nov 16 02:46:52 192 kernel: bootserver=192.168.1.1,
rootserver=192.168.1.1, rootpath=
By the time init passes control to ins initialisation script, the
hostname command reports 192 and dnsdomainname reports 168.0.1.
-- Cheers John SummerfieldMicrosoft's most solid OS: http://www.geocities.com/rcwoolley/
Note: mail delivered to me is deemed to be intended for me, for my disposition.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:43 EST