linux-l: vendortags in der bootptab ... Problem komischer Natur

Philipp Grau phgrau at ZEDAT.FU-Berlin.DE
Di Jul 13 16:55:24 CEST 1999


On Tue, Jul 13, 1999 at 03:58:05PM +0200, Hartwin Rohde wrote:
> On Wed, 30 Jun 1999 12:10:01 +0200, Philipp Grau wrote:
> 
> >> NAME:hn:vm=auto:ht=ethernet:hd=/tftpboot:ha=001122334455:dn=
> >> 10.22.22.22:ip:gw=10.22.22.1:sm=255.255.255.0:T140="cool":T141
> >> ="cooltoo":bf=bootfile.X
> 
> das war unser Eintrag, der auf einer einzigen Zeile steht.
> 
> >Bei mir schaut das so aus: (Solaris 2.4 fuer JetDirect-Karte)
> >
> >ps3:\
> >        :ht=ether:\

man bootptab sacht:

 The ht tag specifies the hardware type code as either an
 unsigned decimal, octal, or hexadecimal integer or one of
 the following symbolic names:  ethernet or ether for 10Mb
 Ethernet, ethernet3 or ether3 for 3Mb experimental Ethernet,
 ieee802, tr, or token-ring for IEEE 802 networks, pronet for
 Proteon ProNET Token Ring, or chaos, arcnet, or ax.25 for
 Chaos, ARCNET, and AX.25 Amateur Radio networks,
 respectively.  The ha tag takes a hardware address which may
 be specified as a host name or in numeric form.  Note that
 the numeric form must be specified in hexadecimal; optional
 periods and/or a leading '0x' may be included for
 readability.  The ha tag must be preceded by the ht tag
 (either explicitly or implicitly; see tc below).  If the
 hardware address is not specified and the type is specified
 as either "ethernet" or "ieee802", then bootpd will try to
 determine the hardware address using ether_hton(3).

> hmm, also auch bei der anderen Antwort hatte der ht-Eintrag den Wert 
> ether, bei uns steht "ethernet", ist das irgendwie bindend oder wird 
> beides geschluckt?
 

Kannst Dir also das passende aussuchen...

 
> >        :ha=08000111111111:\
> >        :hn:\
> >        :ip=xx.xx.xx.xx:\
> 
> muß die IP in hex angegeben werden? Wenn ja wie?

Nee, IP habe ich in der Form 193.175.213.123 drin stehen nichts 
besonderes...

 The ip, sa, sw, sm, and ys tags each take a single IP
 address.  All IP addresses are specified in standard
 Internet "dot" notation and may use decimal, octal, or
 hexadecimal numbers (octal numbers begin with 0, hexadecimal
 numbers begin with '0x' or '0X').  Any IP addresses may
 alternatively be specified as a hostname, causing bootpd to
 lookup the IP address for that host name using
 gethostbyname(3).  If the ip tag is not specified, bootpd
 will determine the IP address using the entry name as the
 host name.  (Dummy entries use an invalid host name to avoid
 automatic IP lookup.)
		  
> >        :T144="hpnp/ps3.cfg":\
> >        :vm=rfc1048:\
> >        :sm=255.255.255.128:\
> >        :gw=xxx.xx.xx.xx:\
> 
> auch hier die Frage nach den zweistelligen Adressangaben

s.o.

> Muß der letzte Eintrag zwingend mit nem Doppelpunkt geschlossen 
> werden?

Wenn ich die Man-Page richtig deute dann nein!

Wenn es noch weitere Probleme gibt vielleicht mal den Debug-level
fuer bootpd hoch setzten -d 6 und sehen was rauskommt...


Philipp


-- 
 Philipp Grau               | Freie Universitaet Berlin 
 phgrau at zedat.fu-berlin.de  | Zentraleinrichtung fuer Datenverarbeitung



Mehr Informationen über die Mailingliste linux-l