• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. warp
    W
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 66
    • Best 0
    • Controversial 0
    • Groups 0

    warp

    @warp

    0
    Reputation
    860
    Profile views
    66
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location FRANCE - PARIS

    warp Unfollow Follow

    Latest posts made by warp

    • RE: WoL and VLAN

      Le WoL do not work on my Fog(CentOS 6.9)
      I also tried that, but it does not work either :
      http://172.16.8.44/fog/management/index.php?sub=wakeEmUp&mac=98:90:96:cd:00:77

      On the other hand a tool of WoL Windows works well !

      My FOG Server : 172.16.8.44/255.255.255.0
      PC to WoL : 172.16.2.10/255.255.255.0

      posted in FOG Problems
      W
      warp
    • WoL and VLAN

      How to indicate a gateway for WoL ?

      posted in FOG Problems
      W
      warp
    • RE: Latest FOG 0.33b

      Hi Tom,

      I have this problem in the inventory of my new computer (Intel NUC) :
      [CODE]i8042 not found…[/CODE]
      [CODE]
      System Manufacturer # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode.
      System Product # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode.
      System Version # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode.
      System Serial Number # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode.
      System Type Type: Desktop
      BIOS Vendor # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode. Intel Corp.
      BIOS Version # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode. WYLPT10H.86A.0025.2014.0303.1008
      BIOS Date # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode. 03/03/2014
      Motherboard Manufacturer # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode. Intel Corporation
      Motherboard Product Name # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode. D54250WYK
      Motherboard Version # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode. H13922-303
      Motherboard Serial Number # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode. GEWY40300HP7
      Motherboard Asset Tag # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode.
      CPU Manufacturer # SMBIOS implementations newer than version 2.7 are not fully supported by this of dmidecode. Intel® Corp.
      CPU Version # SMBIOS implementations newer than version 2.7 are not fully supported by this of dmidecode. Intel® Core™ i5-4250U CPU @ 1.30GHz
      CPU Normal Speed Current Speed: 1300 MHz
      CPU Max Speed ${cpu_mspeed}
      Memory 7.73 GB
      Hard Disk Model
      Hard Disk Firmware
      Hard Disk Serial Number
      Chassis Manufacturer # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode.
      Chassis Version
      Chassis Serial # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode.
      Chassis Asset # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode.
      [/CODE]

      posted in General
      W
      warp
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 24678, member: 7271”]What is the difference between nlist and rawlist?

      What would happen if I just did basename to the path being sent? Would this, theoretically, work properly as the basename of /volumes1/images would be images and the basename of /images would also be images?

      The only issue I see with using basename is for those file systems where you need the full path for things to work. I believe this is why nlist was used. It allows you to read the contents within a specified directory. I’m still under the impression that the NAS boxes just need to be configured so /volume1 is not where it plops you in for FTP. It should be relatively simple, though I don’t have a NAS to test with.[/quote]
      I’m not strong enough in English to translate everything, but hey never mind, I will continue to change myself both programs.

      Yet these modules certainly pose problems to other people as we speak in “FOGuserGuide-> Separate_NFS_Server” a rewrite these modules …
      [url]http://www.fogproject.org/wiki/index.php?title=FOGUserGuide#Separate_NFS_Server[/url]

      posted in General
      W
      warp
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 24618, member: 7271”]So what’s wrong with the FTP Step? If I understood your previous post, FTP to those directories removes the /volume1/ label and sets the home to /volume1/ making the ftp step look at /images through relative means. I didn’t configure there FTP server, so I don’t know how to help. The reason for not doing it via NFS is because of permissions.[/quote]

      Can we still correct code “[B]ftp_nlist[/B]” with a code “[B]ftp_rawlist[/B]” in “/var/www/html/fog/lib/fog FOGFTP.class.php” which seems to be more compatible with different NAS server?

      posted in General
      W
      warp
    • RE: Latest FOG 0.33b

      The problem is the FTP step (rename and delete) why not just do these steps in NFS ?

      posted in General
      W
      warp
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 24602, member: 7271”]Sure.[/quote]
      I have just one last problem : as I said the SYNOLOGY or IOMEGA put before their NFS shares a name like “[B]volume1[/B]” or “[B]nethdd[/B]” while sharing the same FTP did not !
      For the same share on SYNOLOGY:NFS : /volume1/imagesFTP : /imagesThe problem after the backup operation when ftp_delete and ftp_rename.
      So I added before line 57 in / var/www/html/fog/service/Post_Stage2.php
      [CODE]
      // SYNOLOGY —
      if(stripos($dest, ‘volume1’) !==false){
      $src = str_replace(“/volume1/”, “/”, $src);
      $dest = str_replace(“/volume1/”, “/”, $dest);
      // IOMEGA —
      if(stripos($dest, ‘nethdd’) !==false){
      $src = str_replace(“/nethdd/”, “/”, $src);
      $dest = str_replace(“/nethdd/”, “/”, $dest); }
      [/CODE]
      And replaced the function delete($path) in /var/www/html/fog/lib/fog/FOGFTP.class.php because SYNOLOGY do not like the “[B]ftp_nlist[/B]” function but rather “[B]ftp_rawlist[/B] "
      [CODE]
      public function delete($path)
      {
      if (!(@ftp_delete($this->link, $path)||@ftp_rmdir($this->link,$path)))
      {
      $filelistraw = $this->ftp_nlist_Syno($this->link,$path);
      $filelist = (array_keys($filelistraw));
      if ($filelist[0]){
      foreach($filelist AS $file)
      {
      $this->delete($path.”/".$file);
      }
      $this->delete($path);
      }
      }
      // Return
      return $this;
      }

      public function ftp_nlist_Syno($resource, $directory)
      {
           if (is_array($children = @ftp_rawlist($resource, $directory))) { 
               $items = array(); 
               foreach ($children as $child) { 
                   $chunks = preg_split("/\s+/", $child); 
                   //$item['type'] = $chunks[0]{0} === 'd' ? 'directory' : 'file'; 
                   array_splice($chunks, 0, 8); 
                   $items[implode(" ", $chunks)] = $item; 
               } 
               return $items; 
           } 
      
           // Throw exception or return false < up to you 
      }
      

      [/CODE]

      [COLOR=#3366ff]There he has a way to solve this problem ?[/COLOR]

      [url=“/_imported_xf_attachments/0/610_Capture.JPG?:”]Capture.JPG[/url]

      posted in General
      W
      warp
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 24602, member: 7271”]Sure.[/quote]
      it works very well !! 🙂

      posted in General
      W
      warp
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 24596, member: 7271”]I already did them. Why?[/quote]
      So I can test the scheduled task with as master storage has external SAN like Synology ?

      posted in General
      W
      warp
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 24479, member: 7271”]Well,

      I’m going to be rewriting the FOG Service scripts over the weekend. It may not be fully complete but I am going to see what I can do to fix this. there’s no guarantee’s though okay?[/quote]
      Hi, Tom
      Could you look at the Service scripts this weekend ?
      regards.

      posted in General
      W
      warp