Unable to get PXE menu?
-
@Tom-Elliott I’ll try to get into the switch. I was told there isn’t a config on it, this might take some time to do.
-
@mikepel What type of switch is it?
-
@Tom-Elliott Its a Catalyst 2950. It was donated from an Air Force Base…so I’d hope it has a wiped config. Know of any Linux programs to console into switches? Is there a putty for linux?
-
@mikepel there’s ssh. Console may require a windows system as I don’t know of any command based terminal access via console stuff. That’s not to say there aren’t any, I just don’t know of one off the top of my head.
-
@Tom-Elliott Still working on getting into the config. Had to use an old XP laptop, only thing I could find with a serial port.
-
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.