@george1421 I assume that the only way to repair this is to reinstall Fog. I am not sure where to start to do this manually. Any pointers?
Posts made by sysadmin
-
RE: No network interfaces found when deploying Image
-
RE: No network interfaces found when deploying Image
@george1421 morning. Yesterday I started on this. When I got to step 8 it seems I installed Fog here /opt/fog_stable/bin/installfog.sh.
I get the following error. I don’t recall ever getting this message.
root@fog2:~# /opt/fog_stable/bin/installfog.sh * Are you sure you wish to continue (Y/N) Y * Installation Started * Installing required packages, if this fails | make sure you have an active internet connection. /opt/fog_stable/bin/installfog.sh: line 517: installPackages: command not found * Confirming package installation /opt/fog_stable/bin/installfog.sh: line 521: confirmPackageInstallation: command not found * Configuring services
-
RE: No network interfaces found when deploying Image
@george1421 Thank you for your help. I’ll continue with this tomorrow. I have to run some errands and eat something, I’ve been at it for a couple of hours. Thanks again.
-
RE: No network interfaces found when deploying Image
@george1421 It seems I have 4.19.123 x86_64. However when I ran the script I thought I updated.
If I try to update through the FOG GUI I get this error. Not sure what credentials I should be using under TFTP Server.
Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 464, Message: ftp_login(): Login incorrect., Host: 10.10.20.20, Username: fog
-
RE: No network interfaces found when deploying Image
So I get this. Hope it helps.
ip addr show
1: lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1 /8 scope host lo
valid_lft forever preferred_lft foreverAfter
lspci -nn | grep -i net
00:14.3 Network controller [0280]: Interl Corporation Device [8086:02f0]
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (10) I219-v [8086:0d4f]For the hardware ID there were 4 values in there under device manager.
PCI\VEN_8086&DEV_0D4F&SUBSYS_229217AA&REV_00
PCI\VEN_8086&DEV_0D4F&SUBSYS_229217AA
PCI\VEN_8086&DEV_0D4F&CC_020000
PCI\VEN_8086&DEV_0D4F&CC_0200 -
RE: No network interfaces found when deploying Image
@george1421 I will try this in a moment. Before I do, here’s the adapter. Thank you.
-
RE: No network interfaces found when deploying Image
Hi @george1421, I guess I was doing this while you were typing your response. I updated the Kernel using the manual method with the script from this part of the wiki https://wiki.fogproject.org/wiki/index.php?title=Kernel_Update. I updated sucessfully.
RAMDISK: incomplete write (-28 !=4096) - After the update I got this error, but I modified the KERNEL RAMDISK SIZE to 275000 and now I am back at No network interfaces found… but this time there’s less error messages on my screen now.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: done
Saving random seed: OK
Starting haveged: haveged: listeningsocket at 3 OK
No network interfaces found, your kernel is most probably missing the correct driver!
Please check your network setup and try again!After I press Enter
Init Version: 20200517
-
No network interfaces found when deploying Image
Hello everyone,
I am having an issue that when I want to deploy an image to a Lenovo X1 Carbon 7th Gen (20R1) an error comes up telling me No network interfaces found, your kernel is most probably missing the correct driver!
However, I just imaged a Lenovo P43s (20RH) and another Lenovo X1 Carbon 7th Gen (20QD) and both were imaged just fine. Same cable, same Lenovo adapter, same port, same switch and same VLAN. Same steps for prepping bios before the image as well, which are disabling Kernel DMA Protection, Disabling Secure Boot, Startup I choos Both and Legacy First and on the Boot order I put PXE first. I am running FOG 1.5.5.
I did try another X1 (20R1) and I get the same error. I updated the bios and the network drivers and ran all the Lenovo Vantage updates after getting the error the first time. I also removed Bitlocker encryption, turned off fast boot and nothing has fixed the issue. So I imagine the problem it’s with this specific model of X1s (20R1).
Has anyone encountered this? Any suggestions?
Thank you in advance.
-
RE: Copy PXE files from FOG to NAS(QNAP TS-463U)
@Sebastian-Roth that fixed it. I just tested it by booting a laptop off PXE and it works great. I am now capturing an image. I really appreciate you taking the time to help me out.
-
RE: Copy PXE files from FOG to NAS(QNAP TS-463U)
@Sebastian-Roth I’ll rerun the installer and let you know. Thank you very much.
-
RE: Copy PXE files from FOG to NAS(QNAP TS-463U)
@Sebastian-Roth I think you are right. I did not press [Enter] after the database was updated. Is there a way to run the script again, or do I need to reinstall everything? I appreciate your help.
* Downloading binaries needed.................................OK * Unzipping the binaries......................................Done * Copying binaries where needed...............................Done * Enabling apache and fpm services on boot....................OK * Creating SSL CA.............................................OK * Creating SSL Private Key....................................OK * Creating SSL Certificate....................................OK * Creating auth pub key and cert..............................OK * Resetting SSL Permissions...................................OK * Setting up Apache virtual host (no SSL).....................OK * Starting and checking status of web services................OK * Changing permissions on apache log files....................OK * Backing up database.........................................OK * You still need to install/update your database schema. * This can be done by opening a web browser and going to: http://x.x.x.x/fog/management * Press [Enter] key when database is updated/installed.netadmin@fog2:/opt/fog_stable/bin/
-
RE: Copy PXE files from FOG to NAS(QNAP TS-463U)
@Sebastian-Roth Apologies. I already installed FOG(Normal) in virtual machine (VMWare) running Ubuntu server 18.04. A previous boss I had did this and I am trying to figure it out from scratch. I don’t know much about Linux, but I’ve learned quite a lot doing this project.
Basically I want to keep my VM storage separate from my image storage. I want to be able to PXE boot my laptops/workstations so I can start capturing images and deploying them.
-
RE: Copy PXE files from FOG to NAS(QNAP TS-463U)
@Sebastian-Roth I think I found it, it’s called tftp and not tftpboot.
root@fog2:/opt/fog_stable/packages/tftp# ls 10secdelay ipxe.iso libcom32.c32 realtek.kpxe boot.txt ipxe.kkpxe libutil.c32 realtek.pxe i386-efi ipxe.kpxe memdisk snp.efi intel.efi ipxe.krn menu.c32 snponly.efi intel.kkpxe ipxe.lkrn pxelinux.0.old undionly.kkpxe intel.kpxe ipxe.pxe pxelinux.cfg undionly.kpxe intel.pxe ipxe.usb realtek.efi undionly.pxe ipxe.efi ldlinux.c32 realtek.kkpxe vesamenu.c32 root@fog2:/opt/fog_stable/packages/tftp#
-
RE: Copy PXE files from FOG to NAS(QNAP TS-463U)
@Sebastian-Roth thanks! Can I just drop these files in my storage? Do I need to also have them in my FOG server? It’s my first time creating a FOG server and I know it’s no excuse to not be able to do it since all the information is there, but I do not have that directory.
-
RE: Copy PXE files from FOG to NAS(QNAP TS-463U)
Is the file I need to copy this one? /etc/default/tftpd-hpa
-
Copy PXE files from FOG to NAS(QNAP TS-463U)
First I’d like to thank all of you, very helpful guides for beginners. Second, I have an issue trying to copy the PXE files to my shared folders. I am following Larwayn’s guide https://forums.fogproject.org/topic/10973/add-a-nas-qnap-ts-231-as-a-storage-node-fog-v1-4 and I managed to do everything correctly until I get to the part with these commands.
Next we will copy the PXE boot files from the FOG server to the NAS mount -t nfs <nas_ip>:/share/tftpboot /mnt cp -R /tftpboot/* /mnt umount /mnt
The command “mount -t nfs mynasip:/share/tftpboot /mnt” works fine, the problem is when I type the next command “cp -R /tftpboot/* /mnt” gives me an error that says “cp: cannot stat '/tftpboot/': No such file or directory". Am I executing the cp command wrong? It worked on "cp -R /opt/fog/snapins/ssl/ /mnt/ssl” without problem. Is it maybe a permission that I must add on the QNAP?
Thank you in advance,
Jorge