@george1421 said in Host status is unknow 2:
@eliaspereira So does it work now that you fixed name resolution on the FOG server?
At first, yes.
Thanks again for the great help!!!
@george1421 said in Host status is unknow 2:
@eliaspereira So does it work now that you fixed name resolution on the FOG server?
At first, yes.
Thanks again for the great help!!!
@george1421 said in Host status is unknow 2:
@eliaspereira OK, lets find out a bit more about your network setup.
- What device is your dhcp server?
We use pfsense as firewall and dhcp server.
- Can you resolve the computers by DNS?
Now, yes. I configured the samba4 AD DNS on resolv.conf from fogserver.
- Are the host names registered in FOG match the physical host name on the target computer?
Yes.
@george1421 said in Host status is unknow 2:
@eliaspereira No fog is configured to only use the hostname because often the IP address is assigned by dhcp.
Ok.
How many computers are you trying to manage here?
Over 365 computers.
@george1421 said in Host status is unknow 2:
@eliaspereira Ok this issue is totally a name resolution issue based on the testing you have done so far.
FOG uses port 445 to query the target system.
So to start debugging this see if you can
ping lab04pc02
If unable to resolve the namelab04pc02
(as named in the fog host definition) then that is your problem. Depending on the linux distro you use you need to use the network manager application to point the FOG Server’s DNS server value towards you internal DNS resolver. So that the FOG server can maplab04pc02
to an IP address.
Hello @george1421 , Thank you for your help!
Can I set fog to ping the IP address instead of the domain name?
hi,
I have searched the forum and found a few topics, but none of them solved the problem.
The logs show that everything is ok, but anyway, it still shows that the host is unknown.
Your version of FOG is up to date.
You're running the latest stable version: 1.5.9
Versões do kernel
bzImage Version: 5.10.71
bzImage32 Version: 5.10.71
ping
root@fogserver:/opt/fog/service/etc# ping 10.10.4.119
PING 10.10.4.119 (10.10.4.119) 56(84) bytes of data.
64 bytes from 10.10.4.119: icmp_seq=1 ttl=127 time=0.770 ms
64 bytes from 10.10.4.119: icmp_seq=2 ttl=127 time=0.796 ms
64 bytes from 10.10.4.119: icmp_seq=3 ttl=127 time=0.715 ms
64 bytes from 10.10.4.119: icmp_seq=4 ttl=127 time=0.770 ms
^C
--- 10.10.4.119 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.715/0.762/0.796/0.044 ms
telnet on 445 port
root@fogserver:/opt/fog/service/etc# telnet 10.10.4.119 445
Trying 10.10.4.119...
Connected to 10.10.4.119.
Escape character is '^]'.
tail on pinghost.log
root@fogserver:/opt/fog/service/etc# tail -f /opt/fog/log/pinghost.log
[05-09-22 8:51:01 am] * Attempting to ping 369 hosts
[05-09-22 8:51:01 am] * All hosts updated
[05-09-22 8:56:01 am] * FOG Web Host IP: 200.132.218.150
[05-09-22 8:56:01 am] * This servers ip(s)
[05-09-22 8:56:01 am] | 127.0.0.1
[05-09-22 8:56:01 am] | 127.0.1.1
[05-09-22 8:56:01 am] | 200.132.218.150
[05-09-22 8:56:01 am] | fogserver.sertao.ifrs.edu.br
[05-09-22 8:56:01 am] * Attempting to ping 369 hosts
[05-09-22 8:56:01 am] * All hosts updated
[05-09-22 9:01:01 am] * FOG Web Host IP: 200.132.218.150
[05-09-22 9:01:01 am] * This servers ip(s)
[05-09-22 9:01:01 am] | 127.0.0.1
[05-09-22 9:01:01 am] | 127.0.1.1
[05-09-22 9:01:01 am] | 200.132.218.150
[05-09-22 9:01:01 am] | fogserver.sertao.ifrs.edu.br
[05-09-22 9:01:01 am] * Attempting to ping 369 hosts
[05-09-22 9:01:01 am] * All hosts updated
Any ideas?
@george1421 said in wake on lan not working:
The target computer must be on the same subnet as the FOG server
We work with vlans and the fogserver is in a different vlan from the vlans of the computer labs, which we want to activate the wol.
I created a rule in our pfsense allowing the fogserver to go to the labs’ vlans, but it didn’t work.
Is there any other way to make this work?
@george1421 said in wake on lan not working:
@eliaspereira Is pfsense your dhcp server? If yes it will work with FOG. I say this from memory so I might not have the exact menus, but in the dhcp server settings you need to enable netboot option. In that section there will be four boxes. One may be labeled next-server or boot server. That should be the IP address of the fog server. Then there are 3 fields. One for bios, that should be this value: undionly.kpxe one for 64 bit uefi: ipxe.efi and one for 32 bit uefi: i386/ipxe.efi Once that is set and you have net booting enabled you should be able to pxe boot into the FOG iPXE menu.
now if this is already configured correctly, make sure you turn off “Secure boot” in the pxe booting computer’s bios (firmware).
If all above fails, please give us a clear screen shot of the error taken with a mobile phone and post it here so we can see where it stops.
I think you misunderstood my question.
This configuration I already have and it works correctly.
My problem is with the wake on lan via fogserver.
hi,
I did all the configuration on the client machine and via wake on lan from pfsense, I can start the machine, but from fog, it doesn’t work.
Your version of FOG is up to date.
You're running the latest stable version: 1.5.9
Versões do kernel
bzImage Version: 5.10.71
bzImage32 Version: 5.10.71
Is there any extra configuration to be done?
In Boot Exit settings menu I changed “Exit to Hard Disk Type” to GRUB.
Apparently it worked.
If I change in BIOS or skip pxe boot, windows boots normally. I had already taken the test.
In which fog settings can we check?
hi,
I formatted a PC with windows 10 and when it boots from the network and falls into the fog options screen, I left the option “start from hard drive (HD)”, but after that, the pc is in a reboot loop and does not enter in the windows 10 installation.
In the bios the boot (legacy) is for:
fog version:
Any ideas or tips?
It’s a dell or fogserver side known issue?
UPDATE POST:
Adapter: Intel 82579LM Gibabit Network Connection
Hello,
Dell Optiplex 9010
BIOS: A30
Windows 10
I configure dhcp options on pfsense as follow:
It even loads the file correctly at boot via UEFI, but stays in that message for a while and then restarts the computer.
Is this model compatible?
That’s exactly what I did. I wrote a shell script and put it in rc.local. It checks through the mac if the computer is in the fogserver database and from there it makes the change of hostname and join in our domain.
Thanks to all for your help!!!
I work in a public educational institution and we have 5 computer labs, where we would like both systems to be in the domain. This is for students to use their AD credentials to log into computers.
For us this is the best way to manage it. Besides, providing a different operating system alternative to our students.
Is it very complicated to program this new feature in the fog client?
@tom-elliott said in Dual boot - Linux hostname doubt:
Or just reset encryption data.
For those with Dual boot and Dual clients on a single machine, when you’re booting into a different OS (you should be aware of when this is occurring) reset the encryption data on the host.
How do I do that?
@wayne-workman said in Dual boot - Linux hostname doubt:
Pinging @Joe-Schmitt about this use case. In both OSs, they will have the same MAC. @Developers this might be solved with a simple checkbox to append a user-configurable letter if the OS is Linux, or another letter if the OS is Windows, yet another if it’s OSX.
I Agree!!!
@george1421 said in Dual boot - Linux hostname doubt:
Do you have the fog client installed in both sides (win and lin)?
Yes. In both O.S I have installed the fog client.
Hello guys,
At first the hostname change in linux works, but as we have windows in dual boot, the time that enters in the domain, as the hostnames of the two will be the same, only one works. I would like to know if the fog can change the hostname of linux and add only a letter or number so that both enter the domain correctly.
Eg:
Windows: pc01
Linux: pc01L
Thanks!
I can not change this default folder to a map (freenas) where it has a larger space?
P.S. You can remove the IP from your post. It is a public ip of our institution.