LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Slackware PXE - cannot ping the dhcp server. (https://www.linuxquestions.org/questions/linux-networking-3/slackware-pxe-cannot-ping-the-dhcp-server-897544/)

Lockywolf 08-16-2011 02:01 AM

Slackware PXE - cannot ping the dhcp server.
 
I want to install Slackware over network.

As a dhcp server, i have a Win7 machine:

1)WinTftpd(tftp+dhcp+bootp)
2)Filezilla(ftp)

I successfully configured the dhcp server i.e. the the new machine successfully loads a bootloader and a kernel over network - and i receive standard slackware preinstallation environment.

But after the booting the network stops working. Although the interface eth0 appears and seems to be working normally (ifconfig), i cannot ping the dhcp server. Slackware ifconfig shows a lot of Tx packets,but no Rx, and the Win7 shows the same. Like someone has cut a cable after booting the kernel.

Any ideas?

allend 08-16-2011 08:00 AM

Try running 'dhcpcd' after the boot has completed.

From README_PXE.TXT
Quote:

Since we booted the computer using code that did not originate from our
computer, we will have to fetch the remainder of the data - the Slackware
packages - from the network as well. It's just that the freshly booted
Linux kernel has no idea how it came to be running on the computer: you
will have to initialize the network all over again
. The network card's
PXE firmware has done its job and is no longer in the picture.

Lockywolf 08-16-2011 01:05 PM

>>you will have to initialize the network all over again.

Of course i have read it.

That's why i try to run dhcpcd on eth0.

I also tried to set up the interface manually:

Quote:

ifconfig eth0 192.168.0.2 up
route add default 192.168.0.1
No success.

allend 08-16-2011 09:37 PM

Quote:

Of course i have read it.
Good. I wanted to be sure that you understood the need to reinitialise the networking after the PXE boot.

If you are confident that the network interface is working on the client machine, then I think you will have to look to your DHCP server configuration. Check that your firewall rules allow for traffic on the DHCP ports. I am not familiar with WinTFTP so I can offer no suggestions there.


All times are GMT -5. The time now is 01:02 PM.