• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    TFTP Issue

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    3.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chemouz
      last edited by

      Hello,

       I've juste installed FOG on a Debian 6.0 VMware machine and i have a boot issue.
       I'm sure my DHCP server is correctly configured because i had a previous test server with the same IP that's worked properly.
      
      On a windows account [B]tftp 192.168.253.41 get pxelinux.0[/B] is not working .
      

      [COLOR=#ff0000][B]Here is /etc/vsftpd.conf[/B][/COLOR]
      root@srv-fog:~# cat /etc/vsftpd.conf
      anonymous_enable=NO
      local_enable=YES
      write_enable=YES
      local_umask=022
      dirmessage_enable=YES
      xferlog_enable=YES
      connect_from_port_20=YES
      xferlog_std_format=YES
      listen=YES
      pam_service_name=vsftpd
      userlist_enable=NO
      tcp_wrappers=YES

      Partie XFER

      xferlog_enable=YES
      xferlog_file=/var/log/vsftpd.xfer.log

      Partie VSFTPD

      log_ftp_protocol=YES
      vsftpd_log_file=/var/log/vsftpd.log

      [B][COLOR=#ff0000]vsftpd is running[/COLOR][/B]
      root@srv-fog:~# netstat -an
      Connexions Internet actives (serveurs et établies)
      Proto Recv-Q Send-Q Adresse locale Adresse distante Etat
      tcp 0 0 0.0.0.0:33416 0.0.0.0:* LISTEN
      tcp 0 0 192.168.253.41:3306 0.0.0.0:* LISTEN
      tcp 0 0 0.0.0.0:45325 0.0.0.0:* LISTEN
      tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
      tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN
      tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
      tcp 0 0 0.0.0.0:2583 0.0.0.0:* LISTEN
      tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
      tcp 0 0 0.0.0.0:41562 0.0.0.0:* LISTEN
      tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN
      tcp 0 52 192.168.253.41:22 192.168.253.84:60252 ESTABLISHED
      tcp6 0 0 :::80 :::* LISTEN
      tcp6 0 0 :::22 :::* LISTEN
      tcp6 0 0 ::1:25 :::* LISTEN
      [COLOR=#ff0000][B]udp 0 0 0.0.0.0:69 0.0.0.0:[/B][/COLOR]
      udp 0 0 0.0.0.0:48583 0.0.0.0:

      udp 0 0 0.0.0.0:59210 0.0.0.0:*
      udp 0 0 0.0.0.0:979 0.0.0.0:*
      udp 0 0 0.0.0.0:111 0.0.0.0:*
      udp 0 0 0.0.0.0:2049 0.0.0.0:*
      udp 0 0 0.0.0.0:10000 0.0.0.0:*
      udp 0 0 0.0.0.0:2583 0.0.0.0:*
      udp 0 0 0.0.0.0:46365 0.0.0.0:*
      Sockets du domaine UNIX actives(serveurs et établies)
      Proto RefCnt Flags Type State I-Node Chemin

      DGRAM 3904 /dev/log

      DGRAM 2120 @/org/kernel/udev/ude vd

      unix 2 [ ACC ] STREAM LISTENING 3954 /var/run/acpid.socket
      unix 2 [ ACC ] STREAM LISTENING 4718 /var/run/mysqld/mysql d.sock
      DGRAM 6010

      DGRAM 5511

      DGRAM 5504

      DGRAM 5147

      DGRAM 4710

      DGRAM 3951

      STREAM CONNECTE 3452

      STREAM CONNECTE 3451

      DGRAM 2125

      DGRAM 2124

      [COLOR=#ff0000][B]Here are the permission[/B][/COLOR]
      root@srv-fog:~# ls -al /tftpboot
      total 196
      drwxr-xr-x 5 fog root 1024 26 déc. 00:54 .
      drwxr-xr-x 25 root root 1024 26 déc. 11:55 …
      -rw-r–r-- 1 fog root 828 26 déc. 11:55 boot.txt
      drwxr-xr-x 5 fog root 1024 26 déc. 00:54 fog
      -rw-r–r-- 1 fog root 25340 26 déc. 11:55 memdisk
      -rwxr-xr-x 1 fog root 16794 26 déc. 11:55 pxelinux.0
      drwxr-xr-x 2 fog root 1024 26 déc. 12:55 pxelinux.cfg
      drwxr-xr-x 2 fog root 1024 26 déc. 00:54 tftpboot
      -rw-r–r-- 1 fog root 147728 26 déc. 11:55 vesamenu.c32
      [B][COLOR=#ff0000]Here is the error on an Windows 7 machine with tftp client[/COLOR][/B]
      D:>tftp 192.168.253.41 get pxelinux.0
      Échec lors de la demande de connexion

      Thank you for your help !

      1 Reply Last reply Reply Quote 0
      • B
        Blackout Developer
        last edited by

        You should try using the TFTP client on your FOG server, specify 127.0.0.1 as the address to test if it works

        [quote=“chemouz, post: 251, member: 125”][B][COLOR=#ff0000]Here is the error on an Windows 7 machine with tftp client[/COLOR][/B]
        D:>tftp 192.168.253.41 get pxelinux.0
        Échec lors de la demande de connexion[/quote]
        What does the error say ?..

        vsftp does not run the TFTP server, that is handled by xinit.d

        [code]fog-1:~# cat /etc/xinetd.d/tftp

        default: off

        description: The tftp server serves files using the trivial file transfer

        protocol. The tftp protocol is often used to boot diskless

        workstations, download configuration files to network-aware printers,

        and to start the installation process for some operating systems.

        service tftp
        {
        socket_type = dgram
        protocol = udp
        wait = yes
        user = root
        server = /usr/sbin/in.tftpd
        server_args = -s /tftpboot
        disable = no
        per_source = 11
        cps = 100 2
        flags = IPv4
        }
        [/code]

        Does [B]/usr/sbin/in.tftpd[/B] exist ?

        1 Reply Last reply Reply Quote 0
        • C
          chemouz
          last edited by

          I’ve solved this issue by myself :
          I’ve edited /etc/default/tftpd-hpa and replaced [B]/srv/tftp[/B] by [B]/tftpboot[/B]
          Now it’s working fine.

          But i think the installer should be corrected !

          1 Reply Last reply Reply Quote 0
          • B
            Blackout Developer
            last edited by

            Thanks for the feedback.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            190

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project