Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
connection timed out (http://ipxe.org/4c116035)
2013-08-19, 10:55
Post: #5
RE: connection timed out (http://ipxe.org/4c116035)
(2013-06-07 23:39)robinsmidsrod Wrote:  I don't see any attachments. Can you try again?

hello. i have also get stuck with this problem.It promts connetion time out.

I tried to use iPXE as a component of the automation software Razor.
Razor automatically generates a ipxe script in /var/lib/tftpboot , i.e,razor.ipxe.
The script is listed as follows:
-----------------------------------
#!ipxe
:n0
echo test0
isset ${net0/mac} && dhcp net0 || goto n1
echo net0 has DHCP
set dhcp_mac 01-${net0/mac:hexhyp}

:n1
echo test1
isset ${net1/mac} && dhcp net1 || goto n2
echo net1 has DHCP
set dhcp_mac 01-${net1/mac:hexhyp}

:n2
echo test2
isset ${net2/mac} && dhcp net2 || goto n3
echo net2 has DHCP
set dhcp_mac 01-${net2/mac:hexhyp}

:n3
echo test3
isset ${net3/mac} && dhcp net3 || goto n4
echo net3 has DHCP
set dhcp_mac 01-${net3/mac:hexhyp}

:n4
echo test4
isset ${net4/mac} && dhcp net4 || goto n5
echo net4 has DHCP
set dhcp_mac 01-${net4/mac:hexhyp}

:n5
echo test5
isset ${net5/mac} && dhcp net5 || goto n6
echo net5 has DHCP
set dhcp_mac 01-${net5/mac:hexhyp}

:n6
echo test6
isset ${net6/mac} && dhcp net6 || goto n7
echo net6 has DHCP
set dhcp_mac 01-${net6/mac:hexhyp}

:n7
echo test7
isset ${net7/mac} && dhcp net7 || goto s1
echo net7 has DHCP
set dhcp_mac 01-${net7/mac:hexhyp}


Confused1
echo test-s1
chain http://192.168.228.31:8026/razor/api/boo...{dhcp_mac} || goto error

:error
sleep 15
reboot
--------------------------------------------

In general,the script tries to detect all network card in the server which has a dhcp service and return its mac address.


there are two NICs in my server,eth0 and eth1.I have disabled the dhcp service of eth0 by "deny unknown-clients" and allow eth1.

Here comes the problem:
connection time out .(in the attactment)
thanks !
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: connection timed out (http://ipxe.org/4c116035) - ucool - 2013-08-19 10:55



User(s) browsing this thread: 1 Guest(s)