The following snippet includes the ONLY instance of <media> in my entire
/conf/config.xml file (I removed the other already).

                <wan>
                        <if>fxp0</if>
                        <mtu>1500</mtu>
                        <media>100baseTX mediaopt full-duplex</media>
                        <bandwidth>100</bandwidth>
                        <bandwidthtype>Mb</bandwidthtype>
                        <spoofmac>00:18:f3:3e:b2:e7</spoofmac>
                        <blockpriv/>
                        <blockbogons/>
                        <use_rrd_gateway/>
                        <disableftpproxy/>
                        <ipaddr>dhcp</ipaddr>
                        <dhcphostname>azprep.dyndns.info</dhcphostname>
                </wan>

Yet the error remains.

Please advise.

Thanks Scott.


-----Original Message-----
From: Scott Ullrich [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 28, 2008 8:10 PM
To: support@pfsense.com
Subject: Re: [pfSense Support] "XML error: MEDIA at line 47 cannot occur
more than once" each time I try to change configuration

On 1/28/08, Michael Richardson <[EMAIL PROTECTED]> wrote:
> Can you tell me how to resolve this?

There error you are seeing needs config.xml surgery.

First backup your config.xml via the Backup/Restore area.

Use diagnostics -> edit file to edit /conf/config.xml

Locate <media>.....</media> that occurs twice inside one xml block.
Or if you are in  a hurry and just need to get back up delete every
occurance of <media>....</media>

Afterwards reboot the system.

Hope this helps.

Scott


Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to