Netgate SG-1000 microFirewall

Author Topic: Config.xml not read / written when using FD0  (Read 8384 times)

0 Members and 1 Guest are viewing this topic.

Offline hpe

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Config.xml not read / written when using FD0
« on: November 24, 2005, 07:55:56 am »
Hi all,

I'am a new user ( upgraded from Monowall ). As far of today I never succeeded to store the
configuration data onto a floppy. ( No HDD in the PC ).

- Even if I force ( via option 98 ) the configuration to be stored on the floppy ( FD0 ),
  there is nothing written on that floppy. Nevertheless, the system confirms the 'move'.

- If I boot from a CDROM, the config.xml that I putted manually onto a floppy seems to be never
  red.

- Same issue if 'monowall' floppy is used ( should be recognised ? ).

I tried this on various PC's, using 0.94.10.

If somebody has an idea of what is going wrong ...

Thanks, Hpe.

Offline Aussie_Bear

  • Jr. Member
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: Config.xml not read / written when using FD0
« Reply #1 on: November 24, 2005, 09:13:22 am »
Its a code error. (As in the developers made a slight "boo boo" in the code)
(That's what they tell me when I told them about this issue)

Should be fixed in the next update.

Offline hoba

  • Hero Member
  • *****
  • Posts: 5837
  • Karma: +8/-0
  • What was the problem to this solution again?
    • View Profile
    • pfSense
Re: Config.xml not read / written when using FD0
« Reply #2 on: November 24, 2005, 09:42:53 am »
yep, typo: "Warning: file_get_contents(/cf/cinf/config.xml): failed to open stream: "

"i" != "o"  :D

Offline hpe

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Config.xml not read / written when using FD0
« Reply #3 on: November 25, 2005, 12:10:22 am »
yep, typo: "Warning: file_get_contents(/cf/cinf/config.xml): failed to open stream: "

"i" != "o"  :D

Yes ! Of course ! Will try to replace /cinf using /conf in the iso.
Thanks :-)

Hpe

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
  • Karma: +7/-2348
    • View Profile
    • pfSense
Re: Config.xml not read / written when using FD0
« Reply #4 on: November 25, 2005, 01:33:37 pm »
yep, typo: "Warning: file_get_contents(/cf/cinf/config.xml): failed to open stream: "

"i" != "o"  :D

Yes ! Of course ! Will try to replace /cinf using /conf in the iso.
Thanks :-)

Hpe

I just searched the entire tree and cannot find any occurances of "cinf".  You using a serial console?

Offline hpe

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Config.xml not read / written when using FD0
« Reply #5 on: November 26, 2005, 03:03:53 am »
Quote

I just searched the entire tree and cannot find any occurances of "cinf".  You using a serial console?
Quote

I have the same problem, I cannot find any "cinf" entry. Maybe 'Hoba' or 'Aussie_bear' knows more about it ?
I also never get '  Warning: file_get_contents(/cf/cinf/config.xml): failed to open stream ... '.
but FD0 remains void.
Will check further, and keep you informed if I find something. Maybe a mount problem ... ?

hpe

Offline Aussie_Bear

  • Jr. Member
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: Config.xml not read / written when using FD0
« Reply #6 on: November 26, 2005, 03:46:02 am »
yep, typo: "Warning: file_get_contents(/cf/cinf/config.xml): failed to open stream: "

"i" != "o"  :D

Yes ! Of course ! Will try to replace /cinf using /conf in the iso.
Thanks :-)

Hpe

I just searched the entire tree and cannot find any occurances of "cinf".  You using a serial console?


I've attached a keyboard and monitor to the PC I'm using as the pfSense box.

The full error message is this...

Processing: moving...removing old...linking...done.
You're configuration has been moved to fd0

Warning: file_get_contents(/cf/cinf/config.xml): failed to open stream:
No such file or directory in /etc/inc/config.inc on line 68



Offline hpe

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Config.xml not read / written when using FD0
« Reply #7 on: November 26, 2005, 08:24:21 am »


Quote


I've attached a keyboard and monitor to the PC I'm using as the pfSense box.

The full error message is this...

Processing: moving...removing old...linking...done.
You're configuration has been moved to fd0

Warning: file_get_contents(/cf/cinf/config.xml): failed to open stream:
No such file or directory in /etc/inc/config.inc on line 68




Which version are you using ?
I do not have same warning. ( I am using 0.94.10 ).

Hpe

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
  • Karma: +7/-2348
    • View Profile
    • pfSense
Re: Config.xml not read / written when using FD0
« Reply #8 on: November 26, 2005, 12:37:25 pm »
Fixed in 0.94.12

Offline Aussie_Bear

  • Jr. Member
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: Config.xml not read / written when using FD0
« Reply #9 on: November 27, 2005, 02:23:48 am »


Quote


I've attached a keyboard and monitor to the PC I'm using as the pfSense box.

The full error message is this...

Processing: moving...removing old...linking...done.
You're configuration has been moved to fd0

Warning: file_get_contents(/cf/cinf/config.xml): failed to open stream:
No such file or directory in /etc/inc/config.inc on line 68




Which version are you using ?
I do not have same warning. ( I am using 0.94.10 ).

Hpe

Was using 0.94.10...Well, until 5 minutes ago...I'm using 0.94.12 right now.


Fixed in 0.94.12

Trying it now...CD-ROM version.

No option to save to removable media anymore?
(Option 98 is now gone)  ???

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
  • Karma: +7/-2348
    • View Profile
    • pfSense
Re: Config.xml not read / written when using FD0
« Reply #10 on: November 27, 2005, 12:57:18 pm »


Quote


I've attached a keyboard and monitor to the PC I'm using as the pfSense box.

The full error message is this...

Processing: moving...removing old...linking...done.
You're configuration has been moved to fd0

Warning: file_get_contents(/cf/cinf/config.xml): failed to open stream:
No such file or directory in /etc/inc/config.inc on line 68




Which version are you using ?
I do not have same warning. ( I am using 0.94.10 ).

Hpe

Was using 0.94.10...Well, until 5 minutes ago...I'm using 0.94.12 right now.


Fixed in 0.94.12

Trying it now...CD-ROM version.

No option to save to removable media anymore?
(Option 98 is now gone)  ???

Works here.  I have a ms dos formatted USB drive in.   Option 98 comes right up.

Offline hpe

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Config.xml not read / written when using FD0
« Reply #11 on: November 28, 2005, 01:48:24 am »
I can confirm the issue to be solved (CDROM using FD0 - 0.94.12 ).
Option 98 also appears in due time.

Thanks,

Hpe

Offline Aussie_Bear

  • Jr. Member
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: Config.xml not read / written when using FD0
« Reply #12 on: November 29, 2005, 10:42:16 pm »
LOL, there's the option!
(The floppy controller on this old setup died. I just tried PfSense on another box)