14
votes
convert hex IP address into hostname
You could hexify D83ACD2E, pack it into a (Network byte order!) 32-bit integer, then print the (unsigned!) character components of that integer joined by dots. (This is also possible if somewhat more ...
7
votes
Accepted
convert hex IP address into hostname
You may be able to use glibc's getent here:
$ getent ahostsv4 0xD83ACD2E | { read ip rest && getent hosts "$ip"; }
216.58.205.46 mil04s24-in-f46.1e100.net
Another perl approach:
$ perl -...
6
votes
TFTP isn't listening the defined port when started using a xinetd rule
TFTP is a UDP-based protocol and, as such, you won't find a line which says LISTEN or LISTENING.
Run netstat -na | grep udp
and see what you get.
3
votes
Setting up a PXE install using a Linux distro ISO
Note that Linux Lite's own documentation suggests using the PLoP Boot Manager if boot from USB is not available: PLoP is a boot manager that can be booted from CD or even from a floppy disk, and it ...
3
votes
"Unable to find a live file system on the network" PXE boot Ubuntu from CentOS
This is, unfortunately, a somewhat catch-all failure with multiple possible causes. The busybox shell that you are dropped into will allow you to view the casper.log file in the temporary ram ...
3
votes
Accepted
iptables rules to forward tftp via NAT
Since Linux 4.7 in 2016, the conntrack automatic helper assignment was disabled by default (after having years of warning about this in kernel messages):
Four years ago we introduced a new sysctl ...
3
votes
Accepted
TFTP timeout problem during PXE boot
It looks like the tcpdump output contains only requests and not any responses at all. If this is what is actually happening, then a timeout error is to be expected.
In the server_args line of your ...
3
votes
Accepted
How to dd an image and save it to tftp without saving into local machine?
This is a tricky one, and it also appears you're using an embedded device (by the use of /dev/mtd).
It looks like you're trying to take an image of a block device, and create a 'bin' file on another ...
2
votes
tftp transfer painfully slow
TFTP is inherently slow, because it waits for an ACK from the other end after transmitting every block. If your client supports it, you may get more performance by using a TFTP server which supports ...
2
votes
Failed to setup tftpd-hpa
The path is wrong:
ноя 28 19:45:33 serverubuntu tftpd-hpa[3217]: /tftpboot missing, aborting.
tftpd-hpa is looking for /tftpboot where I expect you are following the official PXE tutorial which set ...
2
votes
Accepted
What's missing in my grub2 configuration for PxE
Well after playing with this issue for weeks I finally got the hang of it. I tried what was in the Oracle docs, even tried upgrading to a newer version of the OVS ISO since I found this in the ...
2
votes
Redhat Satellite 6 - valueerror new value non-existent xfs filesystem
Well after a few hours I solved the problem.
Despite the fact that error message talks about non-existent file system, the problem itself doesn't have nothing to do with the file system type.
The ...
2
votes
Can we use ftp in place of tftp in pxe boot
In theory, yes you can... you'll just need to design a PXE standard extension for FTP, then write a new netboot firmware to implement that extension, then flash it to your NICs.
In practice, it's ...
1
vote
centos/linux: run tftpd in a non-default net namespace
Alright, after playing a bit with the tftp and service file, turns out the solution is rather simple - start tftp in a standalone mode (-L or -l options), rather than in xinetd environment.
1
vote
Accepted
tftp - Error code 1: File not found
tftp is usually restricted to /tftpboot directory, I wouldn't expect it to work to get something from a user home directory.
Also check the file permissions. IIRC (it has been awhile), since tftp is ...
1
vote
firewall not working as expected in kickstart
I believe you have to pass the service option once for each service you are adding to the firewall:
firewall --enabled --service=ssh --service=glusterfs --service=tftp --service=ntp
I cannot ...
1
vote
How to boot linux kernel from network through GRUB2 console?
The Release Notes for the latest firmware for your board (November 2018 release) seems to indicate that the 64-bit version of the firmware actually does support network boot, even using the HTTP/HTTPS ...
1
vote
Why tftp direct access request to different folders with different network interfaces
I found the answer myself that, in the configuration for my virbr1 interface, I specified the tftp root for my virtual network interface.
<network>
<name>pxe_bridge</name>
<uuid&...
1
vote
Failed to setup tftpd-hpa
I have the same problem as following:
root@ubuntu:/# sudo service tftpd-hpa restart
Job for tftpd-hpa.service failed because the control process exited with error code. See "systemctl status tftpd-...
1
vote
NFS over TCP not available from (My server ip) - network is unreachable & permission denied
As Mark Plotnick pointed out, the most likely cause for this error is network misconfiguration: your eth1 interface has been configured with the invalid address 172.23.104.0.
Unfortunately, this was ...
1
vote
Can I use PXE without DHCP by just manually specifying a static IP?
If you don't want to override an existing DHCP server, then setup a "proxyDHCP server". A popular proxyDHCP server is dnsmasq, which you can configure to only respond to PXEBoot requests. I ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tftp × 75pxe × 18
linux × 17
networking × 9
dhcp × 9
debian × 7
ubuntu × 7
centos × 7
tftpd × 7
xinetd × 6
boot × 5
u-boot × 5
scripting × 4
rhel × 4
bash × 3
windows × 3
configuration × 3
embedded × 3
busybox × 3
kickstart × 3
fedora × 2
linux-kernel × 2
iptables × 2
grub2 × 2
system-installation × 2