Setting up FOG on an unmanned switch, no outside/inside connection



  • Hey everyone.

    I’m trying to use FOG with a gigabit switch, not connected to an internal or an external network. I had it running for a bit before I moved the setup to it’s new location, however I was using a router. Before I moved the setup, I did test the connection with another switch and it worked. Again, when I tested it, the switch was not connected to any network connection, just the two PCs (FOG server and laptop).

    Eth0 was set for DHCP when it was set with the router. Now that it’s with a switch, I’ve tried to manually set eth0 and the dashboard does come up, however PXE boot won’t connect from any device.

    I’m kinda confused and stuck on this. Any help would be helpful.

    Thanks



  • No worries, glad it worked!

    And I was right there with you when that happened to me, beating my head against a wall, trying to figure out what on earth was going on. I think I’d done so much flailing damage to my Fog installation that I just reinstalled after I figured why the dhcp-server wasn’t working.



  • [quote=“Bobfrid, post: 3196, member: 224”]This might seem silly, but is the dhcp-server service running? On my setup, which is similar to yours, I can always get to the dashboard as long as the ethernet card has some type of connection. But, if I boot Ubuntu 11.04 without the card having a connection, the dhcp-server doesn’t start and I have to start it manually.

    For 11.04 it’s “sudo service isc-dhcp-server start”

    You can substitute “status” for “start” if you want to see what it’s doing.[/quote]

    Yeah… About that… Walking away slowly…whistling

    LOL

    That was the issue. I didn’t realize that the dhcp3 service was not on. But the good news is that during this process, I have learned new commands that I didn’t know before. That’s always a plus…

    Thanks you all for the help on this. It’s working fine now.



  • This might seem silly, but is the dhcp-server service running? On my setup, which is similar to yours, I can always get to the dashboard as long as the ethernet card has some type of connection. But, if I boot Ubuntu 11.04 without the card having a connection, the dhcp-server doesn’t start and I have to start it manually.

    For 11.04 it’s “sudo service isc-dhcp-server start”

    You can substitute “status” for “start” if you want to see what it’s doing.



  • As far as I know, FOG is acting as a DHCP server… I don’t have anything else connected to the switch other than the laptop that I’m trying to PXE boot. when it faisl it does say that it cannot find a DHCP server to connect to. I’ll double check on the DHCP portion of FOG.



  • by dashboard, do you mean webpage? just wanted to verify.

    Is your FOG server also acting as a DHCP server? or do you have another server handing out IP addresses?



  • [quote=“JBurgin, post: 3190, member: 301”]Make sure the static address is the same as the DHCP address you originally set it up with. Chances are the IP addresses are different and therefore PXE isn’t broadcasting on the proper IP.[/quote]

    Double checked it and it is.

    What’s even stranger, is that now I can’t replicate the router connection to get it back to the condition it was.

    I can get to the dashboard all day long… But the other equipment won’t connect at all…



  • Make sure the static address is the same as the DHCP address you originally set it up with. Chances are the IP addresses are different and therefore PXE isn’t broadcasting on the proper IP.


Log in to reply
 

464
Online

38955
Users

10706
Topics

101580
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.