[K12OSN] Passing Parameter to kernel :- option option-129 "DPORT=1067";

Putu Agus ptagus99 at yahoo.com
Sun Feb 20 10:26:47 UTC 2005


Hi Jim,
I've already put it in the dhpcd.conf.
Yes, client now run on 1067 port.
But it seems, still problem.(Kernel Panic)
(No detail messages)
I'm trying to find out by
putting "vmlinuz-2.4.9-1-kitchen-sink.img"(in the 
dhcp.conf:- correct ? )to trace it, and it says error:
"ERROR! no root-path option, check your DHCP
configuration ....." 

for your info:
Here's my dhcp.conf:
default-lease-time            21600;
max-lease-time                21600;
ddns-update-style none;
allow booting;
allow bootp;
option subnet-mask            255.255.255.0;
option broadcast-address      192.168.2.255;
option routers                192.168.2.249;
option domain-name-servers    192.168.2.249;
option domain-name            "ecogreenoleo.co.id";
option root-path    "192.168.2.249:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;

shared-network WORKSTATIONS {
  subnet 192.168.2.0 netmask 255.255.255.0 {
     #range dynamic-bootp 192.168.2.100 192.168.2.253;
     use-host-decl-names       on;
     option log-servers        192.168.2.249;
 # trick from Peter Rundle
<peter.rundle at au.interpath.net>
     if substring (option vendor-class-identifier, 0,
9) = "PXEClient"
     {
        filename      "/lts/pxe/pxelinux.0";
          # NOTE: kernels are specified in
/tftpboot/lts/pxe/pxelinux.cfg/
     }
     else
     {
        filename    "/lts/vmlinuz.ltsp";
     }
  }

group   {
    use-host-decl-names       on;
    option log-servers        192.168.2.249;

    host ws248 {
        hardware ethernet     00:04:75:e4:54:2a;
        fixed-address         192.168.2.248;
        #filename              "/lts/vmlinuz.ltsp";
   filename "/lts/vmlinuz-2.4.9-1-kitchen-sink.img";
        option option-128 e4:45:74:68:00:00;
        option option-129 "DPORT=1067";
    }
}
}
===========
I'm using two nic(eth0,eth1):
#ifconfig
eth0      Link encap:Ethernet  HWaddr
00:04:75:E4:54:29
          inet addr:192.168.2.249  Bcast:192.168.2.255
 Mask:255.255.255.0
          inet6 addr: fe80::204:75ff:fee4:5429/64
Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1
          RX packets:22103 errors:0 dropped:0
overruns:1 frame:0
          TX packets:16228 errors:0 dropped:0
overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2965996 (2.8 MiB)  TX
bytes:20313291 (19.3 MiB)
          Interrupt:10 Base address:0x8400

eth1      Link encap:Ethernet  HWaddr
00:04:75:E5:D9:98
          inet addr:192.168.2.101  Bcast:192.168.2.255
 Mask:255.255.255.0
          inet6 addr: fe80::204:75ff:fee5:d998/64
Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1
          RX packets:7228 errors:0 dropped:0
overruns:1 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1138731 (1.0 MiB)  TX bytes:2262
(2.2 KiB)
          Interrupt:10 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6029 errors:0 dropped:0
overruns:0 frame:0
          TX packets:6029 errors:0 dropped:0
overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8737099 (8.3 MiB)  TX bytes:8737099
(8.3 MiB)
===========
Here's the message log(/var/log/messages):
Feb 20 16:51:08 eobpctest01 dhcpd: DHCPDISCOVER from
00:04:75:e4:54:2a via eth0
Feb 20 16:51:08 eobpctest01 dhcpd: DHCPOFFER on
192.168.2.248 to 00:04:75:e4:54:2a via eth0
Feb 20 16:51:08 eobpctest01 dhcpd: DHCPREQUEST for
192.168.2.248 (192.168.2.249) from 00:04:75:e4:54:2a
via eth0
Feb 20 16:51:08 eobpctest01 dhcpd: DHCPACK on
192.168.2.248 to 00:04:75:e4:54:2a via eth0


Regards
~Pap


--- Jim McQuillan <jam at mcquil.com> wrote:

> Pap,
> 
> You also need to include option-128.  It should look
> like this:
> 
> 
>    option option-128   e4:45:74:68:00:00;
>    option option-129   "DPORT=1067";
> 
> 
> The value for option-128 is a special 'Etherboot
> signature', NOT
> a mac address.
> 
> If you put the lines in your dhcpd.conf file exactly
> as I've shown
> above, it should then pass the DPORT parameter on to
> the kernel and
> initrd.
> 
> Jim McQuillan
> jam at Ltsp.org
> 
> 
> 
> 
> On Sat, 19 Feb 2005, Putu Agus wrote:
> 
> > Dear All,
> > I'm running the DHCP server with different port.
> > It seems that parameter(DPORT="1067")in dhpcd.conf
> > no impact, when the client boot the process.
> > option option-129 "DPORT=1067";
> >
> > I've read
> >
>
http://wiki.ltsp.org/twiki/bin/view/Ltsp/DHCP#Use_different_port_numbers_for_t
> > I've created customize the ROM image to run on
> port
> > 1067 (http://www.rom-o-matic.net).
> >
> > on the system(K12LTSP)server:
> > #ps -ef|grep 1067
> > root 4806 1 0 17:05 ? /usr/sbin/dhcpd -p 1067 -q
> eth0
> >
> > on the client screen:
> > Loading room image...
> > Rom Segment ....
> > Etherboot 5.2.6(GPL)...
> > This Etherboot uses non-standard port 1067 and
> 1068
> > Relocating _text ...
> > Boot from (N)network or (Q)uit ?
> > ...
> > ...
> > ...
> > Running dhcpcd on port 67  <--- Why is it using 67
> ?
> >
> > ERROR! dhcpcd failed!
> > kernel panic:....
> >
> >
> >
> >
> > One thing that I haven't try is to compile the
> kernel.
> >
> > Is there any way other than compiling the kernel ?
> >
> >
> > Thanks
> > ~Pap
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - Helps protect you from nasty
> viruses.
> > http://promotions.yahoo.com/new_mail
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> >
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the K12OSN mailing list