You are not logged in.

#1 2012-02-01 00:36:13

lfitz
Member
Registered: 2011-11-29
Posts: 6

PXE Boot with dnsmasq

Hi,

I am trying to boot a (second) laptop connected via a crossover cable, from my primary laptop.

My client laptop is set to boot from the lan in BIOS and I manually select "Network Boot" from the boot order menu.

These are the steps I take with my server:

netcfg -a
ip link set wlan0 down ## first two steps disable wlan0

ip link set eth0 up
ip addr add 192.168.2.2/24 dev eth0

ip route add default via 192.168.2.1

pacman -S dnsmasq

/etc/dnsmasq.conf

dhcp-range=192.168.2.50,192.168.2.150,12h
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/tftpboot

/etc/resolv.conf

nameserver 192.168.2.1

run dnsmasq

rc.d start dnsmasq

It seems the problem is with DHCP because the client never obtains a leased ip address.

Is there anything I have looked over in the configuration provided above?
Is there an option to provide a more verbose output on the server, or client?

I am following: https://wiki.archlinux.org/index.php/PXE Method 1 ( with dnsmasq )

Last edited by lfitz (2012-02-01 00:37:46)

Offline

#2 2012-02-01 02:50:05

KingX
Member
From: CA
Registered: 2010-03-24
Posts: 324

Re: PXE Boot with dnsmasq

If you have a router then all you need to do is connect your second laptop using the standard (Cat5) cable to the router, I think the crossover cable is where you are going wrong. Then your primary laptop, which is acting as the PXE Server, can send the boot files to your other laptop when you select Network Boot or Boot over LAN.

Offline

#3 2012-02-01 03:09:57

lfitz
Member
Registered: 2011-11-29
Posts: 6

Re: PXE Boot with dnsmasq

I've made a bit of progress.  I now get a DHCP lease ( with crossover cable, still ) and get the pxe.conf menu, when I select the kernel I want to boot the error displayed is... "NFS not reachable over TCP" iirc.

I'll post further progress, if any is made.

Update:

NFS over TCP not available from <server-ip>
connect: Network is unreachable

Last edited by lfitz (2012-02-01 06:37:40)

Offline

Board footer

Powered by FluxBB