Solaris 9 box as bootp/tftpd server to install debian in SS1+

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default Solaris 9 box as bootp/tftpd server to install debian in SS1+

    Easy question: I want to set my ss20 (solaris9) box so I can use
    it to netinstall debian linux in my SS1+. So, I

    o created a /etc/ethers file

    # cat /etc/ethers
    8:0:20:c0:ff:ee katrina
    #

    o added an entry to my /etc/hosts file

    10.0.0.17 katrina.kushana.com katrina # SS1+ running Debian Linux

    o manually started /usr/sbin/in.rarpd (as in /usr/sbin/in.rarpd -a -d),
    which results in the following messages:

    # /usr/sbin/in.rarpd -a -d
    /usr/sbin/in.rarpd:[1] device le0 ethernetaddress 8:0:20:71:a0:87
    /usr/sbin/in.rarpd:[1] device le0 address 10.0.0.13
    /usr/sbin/in.rarpd:[1] device le0 subnet mask 255.255.255.0
    /usr/sbin/in.rarpd:[3] starting rarp service on device le0 address
    8:0:20:71:a0:87
    /usr/sbin/in.rarpd:[3] RARP_REQUEST for 8:0:20:c0:ff:ee
    /usr/sbin/in.rarpd:[3] trying physical netnum 10.0.0.0 mask ffffff00
    /usr/sbin/in.rarpd:[3] good lookup, maps to 10.0.0.17

    which, I would guess, indicates that it has successfully done the rarpd
    part. So, I then went on to setup tftp so I could get the bloody
    tftpboot.img file:

    o Placed the tftpboot file in a known location,

    -rw-r--r-- 1 root other 3161568 May 18 2002
    /export/netboot/tftpboot.img

    modified the tftp entry in /etc/inetd.conf to reflect that

    tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /export/netboot

    (I am not horrible concerned about security since we are behind a firewall
    and all the relevant ports are disabled in my router)

    o Restarted inetd

    # ps -e | grep inetd
    182 ? 0:01 inetd
    # kill -HUP 182

    From the following messages int he SS1+, it seems not to be able to get
    the tftpboot.img file:

    ok boot net
    Booting from: le(0,0,0)
    Got error packet: Error Code 2 Message: Access violationreceive failed
    Boot load failed
    ok

    What am I missing here?

    --
    Mauricio raubvogel-yahoo-com
    (if you need to email me, use this address =)
    Mauricio Guest

  2. Similar Questions and Discussions

    1. Net::Server -> tftpd ?
      Hello, did anybody allready try to bulid a tftpd or anything else that needs more "Socket Fine tuning" on the Net::Server/Net::Server::UDP modules?...
    2. Install/configure BOOTP server on Solaris 8
      We use bootp protocol for the product then we do. I try with dhcpconfig to activate BOOTP server. The DHCP request works correctly, but I never...
    3. Install Debian with floppies
      Hello everybody, I've got a problem that was already reported on the net but i didn't find the answer. I want to install a debian through...
    4. Anyone Install Debian on an SGI Indy?
      Hi All, I'm wondering if anyone on the group here has installed Debian on an Silicon Graphics Indy Workstation. Years ago I read somewhere that it...
    5. Hi, how to install rpms on Debian??
      Thanks!!! -- Zhao YouBing, Ph.D student State Key Lab of CAD&CG,Zhejiang University, Hangzhou, 310027, P.R.China Tel : 0571-87951045(O),...
  3. #2

    Default Re: Solaris 9 box as bootp/tftpd server to install debian in SS1+

    Mauricio <uce@ftc.gov> wrote:
    > Easy question: I want to set my ss20 (solaris9) box so I can use
    > it to netinstall debian linux in my SS1+. So, I
    > o created a /etc/ethers file
    > # cat /etc/ethers
    > 8:0:20:c0:ff:ee katrina
    > o added an entry to my /etc/hosts file
    > 10.0.0.17 katrina.kushana.com katrina # SS1+ running Debian Linux
    > o manually started /usr/sbin/in.rarpd (as in /usr/sbin/in.rarpd -a -d),
    > which results in the following messages:
    > # /usr/sbin/in.rarpd -a -d
    > /usr/sbin/in.rarpd:[1] device le0 ethernetaddress 8:0:20:71:a0:87
    > /usr/sbin/in.rarpd:[1] device le0 address 10.0.0.13
    > /usr/sbin/in.rarpd:[1] device le0 subnet mask 255.255.255.0
    > /usr/sbin/in.rarpd:[3] starting rarp service on device le0 address
    > 8:0:20:71:a0:87
    > /usr/sbin/in.rarpd:[3] RARP_REQUEST for 8:0:20:c0:ff:ee
    > /usr/sbin/in.rarpd:[3] trying physical netnum 10.0.0.0 mask ffffff00
    > /usr/sbin/in.rarpd:[3] good lookup, maps to 10.0.0.17
    > which, I would guess, indicates that it has successfully done the rarpd
    > part. So, I then went on to setup tftp so I could get the bloody
    > tftpboot.img file:
    > o Placed the tftpboot file in a known location,
    > -rw-r--r-- 1 root other 3161568 May 18 2002
    > /export/netboot/tftpboot.img
    You'll find that the unit will attempt to tftp a file with the name of
    the client IP address converted to hex (capital letters), or the same
    with the name of the architecture appended.

    I believe the 1+ is a sun4c, so the likely files it will try to tftp
    are..

    0A000011
    0A000011.SUN4C

    You can make a symlink from your image to those files.

    Running an ethernet sniffer (snoop) should show the exact requests made
    by the client.
    > ok boot net
    > Booting from: le(0,0,0)
    > Got error packet: Error Code 2 Message: Access violationreceive failed
    > Boot load failed
    > ok
    > What am I missing here?
    Seems strange. When the tftp file is messed up, I generally get nothing
    from the client (it appears to hang). However, I would also expect that
    'access violation' is an acceptable error that could also mean 'file not
    found'.

    --
    Darren Dunham [email]ddunham@taos.com[/email]
    Unix System Administrator Taos - The SysAdmin Company
    Got some Dr Pepper? San Francisco, CA bay area
    < This line left intentionally blank to confuse you. >
    Darren Dunham Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139