Cant access webgui after media change.



  • Hi,

    I just had a brilliant idea when I was in webGui, I changed the LAN (em0) to media 1000base etc.. but then i lost my network and internet connection so logged in directly to my pfsense router.

    I went to shell and changed to "ifconfig em0 media autoselect" after reading this http://doc.pfsense.org/index.php/Forcing_Interface_Speed_or_Duplex_Settings#Going_back_to_autoselect
    But now i cant access webgui, i tried restarting webconfig but after the restart i lose my connection again…

    What should I do? :P



  • nvm fixed it.

    I changed in the config.xml file.
    From this
                    <lan><enable><if>em0</if>
                            <media>1000baseT</media>
                            <mediaopt>full-duplex</mediaopt>

    <ipaddr>192.168.1.1</ipaddr>
                            <subnet>24</subnet>
                            <spoofmac>To this

    <lan><enable><if>em0</if>
                            <media>100baseTX</media>
                            <mediaopt>full-duplex</mediaopt>

    <ipaddr>192.168.1.1</ipaddr>
                            <subnet>24</subnet>
                            <spoofmac></spoofmac></enable></lan></spoofmac></enable></lan>


Locked