Unable to get PXE menu?
-
It looked like it was a clean config, just to be sure I wiped it again. I don’t think its anything with the switch config…Maybe I should try to rebuild the FOG server from scratch again.
-
@mikepel I don’t have the manual for that switch, but MANY cisco switches automatically enable stp by default.
-
@Tom-Elliott haha ugh. okay I just put all the console cable stuff away. I did find a USB to console cable so I can use my main PC now at least. I’ll disable it if it’s on by default.
-
Okay spanning-tree is disabled now…now I’m getting something different! TFTP timeout…
Here is the switch config…ImageServerSwitch#show run Building configuration... Current configuration : 1067 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname ImageServerSwitch ! enable secret 5 asd enable password asd ! ip subnet-zero ! ip ssh time-out 120 ip ssh authentication-retries 3 vtp domain westover vtp mode transparent ! ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id no spanning-tree vlan 1 ! ! ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 no ip address no ip route-cache shutdown ! ip http server ! line con 0 exec-timeout 0 0 line vty 0 4 password asd login line vty 5 15 password asd login ! ! end
-
@mikepel as you’re on a switch you need to enable an ip-helper to tell the switch to redirect dhcp requests to your fog server.
-
@mikepel please try to post a photo of where the tftp timeout is occurring. If it’s during PXE it’s the iphelper thing, if it’s from iPXE it’s something else.
-
@Tom-Elliott …that was in my OP! I know on SCCM we had to do that which is why I asked.
-
-
ip address helper should point to the DHCP server (in my case the same server where FOG is running)?
-
@mikepel Correct, but I’m still wanting to know WHERE the tftp timeout is coming from. Is it coming from iPXE (initializing) or is it coming from PXE with a PXE-E32 error?
-
@Tom-Elliott PXE-E32 error.
-
@mikepel Yep, then we need the ip-helper setup.
-
That PXE-E32 error happened after i setup the IP-Helper (and before). I’m only a help desk tech, I very rarely deal with network switch configs so it might not be configured right. I set it for VLAN 1 and all switch ports are on VLAN 1. Is that okay? I will get a copy of the config in a few minutes…
https://drive.google.com/file/d/19b8JnbScEJ0SC7Nks5z-qFmX4s5nA5DmwQ/view?usp=sharing
-
ImageServerSwitch>enable Password: Password: ImageServerSwitch#show run Building configuration... Current configuration : 1151 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname ImageServerSwitch ! enable secret 5 $1$ggg enable password pass1 ! ip subnet-zero ! ip ssh time-out 120 ip ssh authentication-retries 3 vtp domain westover vtp mode transparent ! ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id no spanning-tree vlan 1 ! ! ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 no ip address ip helper-address 10.10.73.65 no ip route-cache shutdown ! interface Vlan10 no ip address no ip route-cache ! ip http server ! line con 0 exec-timeout 0 0 line vty 0 4 password pass1 login line vty 5 15 password pass1 login ! ! end
VLANS
ImageServerSwitch#show vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Gi0/1, Gi0/2 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 1500 - - - - - 0 0 1002 fddi 101002 1500 - - - - - 0 0 1003 tr 101003 1500 - - - - - 0 0 1004 fdnet 101004 1500 - - - ieee - 0 0 1005 trnet 101005 1500 - - - ibm - 0 0 Remote SPAN VLANs ------------------------------------------------------------------------------ Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------
-
@mikepel All looks to be right, but can you just run another (
sudo service tftpd-hpa stop; sleep 2; sudo service tftpd-hpa start
) again? It appears dhcp is working now, but tftp literally is not working at this point. -
@Tom-Elliott Will Ubuntu go into sleep mode like Windows does? I haven’t touched it in about an hour and it looks like it may have shutdown? Could be why it wasn’t working after the iP helper command…I restart the Ubuntu server, started TFTP and DHCP and I booted the PC and I finally have the FOG menu! WOOHOO Tom, Thank you so much for the help today. Literally so happy to get to this point, now just need to learn how to capture and deploy images! So the things I changed today were the netmask (don’t think this mattered), added an IP helper address and disabled spanning tree. Is the IP helper/spanning tree documented in tutorials anywhere? I don’t think the one I followed mentioned any of that. Anyways, thanks so F’ing much for the help!
-
@mikepel I don’t know how you installed Ubuntu, but I’m going to guess you installed it with a GUI?
The link should give you some info on how to prevent complete standby. I don’t think display sleep is a problem, but if the system goes out, when it comes back the services are likely not able to see the network (which would cause them to fail).
-
@Tom-Elliott Okay, I’ll look into all this. Just happy to be able to get PXE to work! Again, thanks.