Re: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Lars Rasmussen

On 5/10/06, Bao C. Ha [EMAIL PROTECTED] wrote:

Hi Lars,

I still could not duplicate the errors!

What is the brand of CF that you are using? How many MB does
it actually have? It could be that I made an assumption that
is wrong for your CF brand. The conf directory is at the end
of the CF, so it may not actually be written.


Lexar Compact Flash - 249MB actual capacity.

I found a workaround.

I grabbed an extra Dell Desktop, removed its hard drive  replaced it
with the 249MB Lexar Compact Flash.  Then I booted off the LiveCD(beta
4)  installed pfSense using option 99.

I partitioned the CF card with 244 on /, no swap partition.  On the
advice of a fellow in the IRC channel I disabled logging to the local
CF Card.  After installing to the CF card it was placed in the
previously non-working box  booted off CF w/o a problem.

pfSense is working for this client now, and I'm happy to confirm that
the traffic shaping is working with SIP  IAX2 on this CF install by
copying the definitions created by by the EZ traffic shaper wizard and
adding them to IAX2 port 4569.  We did some stress tests using
BitTorrent  broadbandreports.com and voice quality was unaffected!

There were 4 boxes involved in this scenario.  pfSense would not
install to the hard drive or CF on 3 of them, but would install to the
hard drive using the 4th box - the Dell Dimension 2400 desktop.  That
same desktop box was the system used to install pfSense to the CF
card.

The Lexar CF card then booted fine as previously described.

I'll see if I can get some hardware specs on the 3 boxes that
initially failed to install.

Bao, thanks for your responses.
--
Lars


Re: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Angelo Turetta

Lars Rasmussen wrote:


I partitioned the CF card with 244 on /, no swap partition.  On the
advice of a fellow in the IRC channel I disabled logging to the local
CF Card.  After installing to the CF card it was placed in the
previously non-working box  booted off CF w/o a problem.


I think you have to change the 'platform' type to 'embedded' if you use
a CF as boot media.  The 'pfsense' type is mounting the hard disk RW,
and you risk burning your CF. I don't know if the embedded config can be
run with a real VGA on a real PC, though.

Angelo
Modena-Italy




Re: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Scott Ullrich

On 5/16/06, Angelo Turetta [EMAIL PROTECTED] wrote:

Lars Rasmussen wrote:
I think you have to change the 'platform' type to 'embedded' if you use
a CF as boot media.  The 'pfsense' type is mounting the hard disk RW,
and you risk burning your CF. I don't know if the embedded config can be
run with a real VGA on a real PC, though.


Embedded images lack keyboard and VGA.   This is how we get around the
fact that the WRAP bios is brain-dead and crashes if they are present.

Scott


Re: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Angelo Turetta

Scott Ullrich wrote:


On 5/16/06, Angelo Turetta [EMAIL PROTECTED] wrote:


I think you have to change the 'platform' type to 'embedded' if you use
a CF as boot media.  The 'pfsense' type is mounting the hard disk RW,
and you risk burning your CF. I don't know if the embedded config can be
run with a real VGA on a real PC, though.



Embedded images lack keyboard and VGA.   This is how we get around the
fact that the WRAP bios is brain-dead and crashes if they are present.


And what about the case in original post?
He has installed the full version from CD-ROM to a CF (used as a hard 
disk). I'm confident that such a setup results in a platform setting of 
'pfsense'. If I later change the platform to 'embedded', can I use it on 
a 'Real PC'? (for example, using an ATA-to-CF adapter). Of course I'll 
lose the package manager, but will the VGA work as usual?


Thanks,
Angelo.


Re: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Scott Ullrich

On 5/16/06, Angelo Turetta [EMAIL PROTECTED] wrote:

And what about the case in original post?
He has installed the full version from CD-ROM to a CF (used as a hard
disk). I'm confident that such a setup results in a platform setting of
'pfsense'. If I later change the platform to 'embedded', can I use it on
a 'Real PC'? (for example, using an ATA-to-CF adapter). Of course I'll
lose the package manager, but will the VGA work as usual?


Yes, your thinking is correct.


Re: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Bill Marquette

On 5/16/06, Angelo Turetta [EMAIL PROTECTED] wrote:

And what about the case in original post?
He has installed the full version from CD-ROM to a CF (used as a hard
disk). I'm confident that such a setup results in a platform setting of
'pfsense'. If I later change the platform to 'embedded', can I use it on
a 'Real PC'? (for example, using an ATA-to-CF adapter). Of course I'll
lose the package manager, but will the VGA work as usual?


Correct, the two major differences between embedded and full are the
kernel (the embedded images lack VGA and keyboard) and the disk being
mounted rw/ro.

There are other minor differences.../var/* are symlinks to /tmp on
embedded and /tmp is a ramdisk - this is why most things disappear on
reboot for embedded images, we simply don't preserve them.  I don't
recall if the /var stuff is part of the build, or something that's
created on the fly if platform == embedded.

--Bill


Re: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Bao C. Ha
It is the same thing I did. I use the standard image to build
the CF version. Just change the version from pfsense to
embedded. 

Bao

On Tue, May 16, 2006 at 01:29:19PM -0400, Scott Ullrich wrote:
 On 5/16/06, Angelo Turetta [EMAIL PROTECTED] wrote:
 And what about the case in original post?
 He has installed the full version from CD-ROM to a CF (used as a hard
 disk). I'm confident that such a setup results in a platform setting of
 'pfsense'. If I later change the platform to 'embedded', can I use it on
 a 'Real PC'? (for example, using an ATA-to-CF adapter). Of course I'll
 lose the package manager, but will the VGA work as usual?
 
 Yes, your thinking is correct.

-- 
Best Regards.
Bao C. Ha
Hacom OpenBrick Distributor USA http://www.hacom.net
voice: (714) 530-8817 fax: (714) 530-8818
8D66 6672 7A9B 6879 85CD 42E0 9F6C 7908 ED95 6B38


Re: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Ispánovits Imre
On Tue, 16 May 2006 12:55:03 -0500
Bill Marquette [EMAIL PROTECTED] wrote:

 One little trick with Bao's image (if you have a large enough flash
 card - 256 for mine, and enough system ram), you can change the -s16m
 in /etc/fstab to -s64m for the /tmp ramdrive, symlink /var/tmp to
 /tmp.  Update /etc/platform back to pfsense, and then you can apply a
 full update to it.  The trick is making sure you have enough space in

It can be a great advantage :)
After changing the platform I have to reboot anyway, or is there an other
(shorter) way to make the new platform valid? 

 /tmp ;)  And of course...this only works on a full install to CF
 that's had it's platform changed...don't try this on a native
 embedded, you'll blow up the kernel.
 
 And as always...such playing around is unsupported, but fwiw, I did
 exactly that last night.
 
 --Bill


signature.asc
Description: PGP signature


RE: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Craig FALCONER
Yes - it works fine.

However you will loose your RRD graphs at reboot, and to do a firmware
update you need to change /etc/platform back to pfSense, then reboot, then
upgrade, then reboot, then change /etc/platform back to embedded, then
reboot.

Also while the machine is in the embedded state, you cannot install packages
(however you can use already-installed packages)

Doing it this way means the VA console and PS/2 keyboard will work fine.
You can enable a serial console too by editing /etc/ttys and changing off to
on for the ttyd0 line.



-Original Message-
From: Angelo Turetta [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 17 May 2006 5:22 a.m.
To: discussion@pfsense.com
Subject: Re: [pfSense-discussion] CF-IDE install help


Scott Ullrich wrote:

 On 5/16/06, Angelo Turetta [EMAIL PROTECTED] wrote:
 
 I think you have to change the 'platform' type to 'embedded' if you 
 use a CF as boot media.  The 'pfsense' type is mounting the hard disk 
 RW, and you risk burning your CF. I don't know if the embedded config 
 can be run with a real VGA on a real PC, though.
 
 
 Embedded images lack keyboard and VGA.   This is how we get around the
 fact that the WRAP bios is brain-dead and crashes if they are present.

And what about the case in original post?
He has installed the full version from CD-ROM to a CF (used as a hard 
disk). I'm confident that such a setup results in a platform setting of 
'pfsense'. If I later change the platform to 'embedded', can I use it on 
a 'Real PC'? (for example, using an ATA-to-CF adapter). Of course I'll 
lose the package manager, but will the VGA work as usual?

Thanks,
Angelo.



RE: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Holger Bauer
RRD graphs will be stored on scheduled reboots (if you trigger them by hitting 
either reboot from the webgui or shellmenu) even for embedded systems or 
systems that act like embeddeds.

Holger

 -Original Message-
 From: Craig FALCONER [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 16, 2006 11:36 PM
 To: discussion@pfsense.com
 Subject: RE: [pfSense-discussion] CF-IDE install help
 
 
 Yes - it works fine.
 
 However you will loose your RRD graphs at reboot, and to do a firmware
 update you need to change /etc/platform back to pfSense, then 
 reboot, then
 upgrade, then reboot, then change /etc/platform back to embedded, then
 reboot.
 
 Also while the machine is in the embedded state, you cannot 
 install packages
 (however you can use already-installed packages)
 
 Doing it this way means the VA console and PS/2 keyboard will 
 work fine.
 You can enable a serial console too by editing /etc/ttys and 
 changing off to
 on for the ttyd0 line.
 
 
 
 -Original Message-
 From: Angelo Turetta [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, 17 May 2006 5:22 a.m.
 To: discussion@pfsense.com
 Subject: Re: [pfSense-discussion] CF-IDE install help
 
 
 Scott Ullrich wrote:
 
  On 5/16/06, Angelo Turetta [EMAIL PROTECTED] wrote:
  
  I think you have to change the 'platform' type to 
 'embedded' if you 
  use a CF as boot media.  The 'pfsense' type is mounting 
 the hard disk 
  RW, and you risk burning your CF. I don't know if the 
 embedded config 
  can be run with a real VGA on a real PC, though.
  
  
  Embedded images lack keyboard and VGA.   This is how we get 
 around the
  fact that the WRAP bios is brain-dead and crashes if they 
 are present.
 
 And what about the case in original post?
 He has installed the full version from CD-ROM to a CF (used as a hard 
 disk). I'm confident that such a setup results in a platform 
 setting of 
 'pfsense'. If I later change the platform to 'embedded', can 
 I use it on 
 a 'Real PC'? (for example, using an ATA-to-CF adapter). Of 
 course I'll 
 lose the package manager, but will the VGA work as usual?
 
 Thanks,
 Angelo.
 
 


Virus checked by G DATA AntiVirusKit



Re: [pfSense-discussion] CF-IDE install help

2006-05-16 Thread Bill Marquette

On 5/16/06, Craig FALCONER [EMAIL PROTECTED] wrote:

Ahh cool thanks - I haven't rebooted a post beta2 machine yet :)


yeah, added for beta4 I believe :)

--Bill


Re: [pfSense-discussion] CF-IDE install help

2006-05-10 Thread Bao C. Ha
Hi Lars,

Which image did you used?

Thanks.
Bao

On Wed, May 10, 2006 at 07:07:41AM -0500, Lars Rasmussen wrote:
 Howdy all,
 
 I've installed pfSense many times since alpha revs to a hard drive,
 but never successfully to Compact Flash.
 
 I used one of Bao's 256M beta 3 CF-IDE image on a PC with a VGA
 interface(no WRAP) with a CF-IDE bridge, 256M CF card, two 3Com NICS, 
 one Intel NIC, and 512M RAM.
 
 I'm looking for a way to replace
 
 /conf.default/config.xml
 with
 /conf/config.xml
 
 so my changes to the config will persist.  I'm able to access the web
 interface, but upon reboot I get a default state.
 
 Perhaps it would be better to start from a beta 4 liveCD boot  go from 
 there?
 
 Any pointers to applicable docs or suggested install/partioning
 scenarios would be appreciated.
 
 --
 Lars

-- 
Best Regards.
Bao C. Ha
Hacom OpenBrick Distributor USA http://www.hacom.net
voice: (714) 530-8817 fax: (714) 530-8818
8D66 6672 7A9B 6879 85CD 42E0 9F6C 7908 ED95 6B38


Re: [pfSense-discussion] CF-IDE install help

2006-05-10 Thread Lars Rasmussen

I used

http://shopping.hacom.net/catalog/pub/pfsense/pfSense-1.0-BETA3-256-ad0.img.gz
--
Lars

On 5/10/06, Bao C. Ha [EMAIL PROTECTED] wrote:

Hi Lars,

Which image did you used?

Thanks.
Bao

On Wed, May 10, 2006 at 07:07:41AM -0500, Lars Rasmussen wrote:
 Howdy all,

 I've installed pfSense many times since alpha revs to a hard drive,
 but never successfully to Compact Flash.

 I used one of Bao's 256M beta 3 CF-IDE image on a PC with a VGA
 interface(no WRAP) with a CF-IDE bridge, 256M CF card, two 3Com NICS,
 one Intel NIC, and 512M RAM.

 I'm looking for a way to replace

 /conf.default/config.xml
 with
 /conf/config.xml

 so my changes to the config will persist.  I'm able to access the web
 interface, but upon reboot I get a default state.

 Perhaps it would be better to start from a beta 4 liveCD boot  go from
 there?

 Any pointers to applicable docs or suggested install/partioning
 scenarios would be appreciated.

 --
 Lars


Re: [pfSense-discussion] CF-IDE install help

2006-05-10 Thread Bao C. Ha
Hi Lars,

I don't have problems updating the configuration using the web.
Could you show me a step-by-step procedure to dupluicate it?

Earlier on, we did have that problem. And, I was afraid I might
re-introduce it back.

Thanks.
Bao

On Wed, May 10, 2006 at 09:37:08AM -0500, Lars Rasmussen wrote:
 I used
 
 http://shopping.hacom.net/catalog/pub/pfsense/pfSense-1.0-BETA3-256-ad0.img.gz
 --
 Lars
 
 On 5/10/06, Bao C. Ha [EMAIL PROTECTED] wrote:
 Hi Lars,
 
 Which image did you used?
 
 Thanks.
 Bao
 
 On Wed, May 10, 2006 at 07:07:41AM -0500, Lars Rasmussen wrote:
  Howdy all,
 
  I've installed pfSense many times since alpha revs to a hard drive,
  but never successfully to Compact Flash.
 
  I used one of Bao's 256M beta 3 CF-IDE image on a PC with a VGA
  interface(no WRAP) with a CF-IDE bridge, 256M CF card, two 3Com NICS,
  one Intel NIC, and 512M RAM.
 
  I'm looking for a way to replace
 
  /conf.default/config.xml
  with
  /conf/config.xml
 
  so my changes to the config will persist.  I'm able to access the web
  interface, but upon reboot I get a default state.
 
  Perhaps it would be better to start from a beta 4 liveCD boot  go from
  there?
 
  Any pointers to applicable docs or suggested install/partioning
  scenarios would be appreciated.
 
  --
  Lars

-- 
Best Regards.
Bao C. Ha
Hacom OpenBrick Distributor USA http://www.hacom.net
voice: (714) 530-8817 fax: (714) 530-8818
8D66 6672 7A9B 6879 85CD 42E0 9F6C 7908 ED95 6B38


Re: [pfSense-discussion] CF-IDE install help

2006-05-10 Thread Bao C. Ha
Hi Lars,

I still could not duplicate the errors!

What is the brand of CF that you are using? How many MB does
it actually have? It could be that I made an assumption that
is wrong for your CF brand. The conf directory is at the end
of the CF, so it may not actually be written.

Also, are you in the States? I could swap one of our CF with
yours. You would have a CF that we know to work. And I will
have a better chance to debug the problem.

Thanks.
Bao

On Wed, May 10, 2006 at 12:11:29PM -0500, Lars Rasmussen wrote:
 1. dd the image to the CF card  boot
 2. assign interfaces (LAN,WAN, OPT1, OPT2)
 3. assign LAN ip address
 4. log into web interface  assign static WAN IP
 5. backup changes(config.xml)
 
 If I then reboot all my changes are lost.
 
 --
 Lars
 
 
 On 5/10/06, Bao C. Ha [EMAIL PROTECTED] wrote:
 Hi Lars,
 
 I don't have problems updating the configuration using the web.
 Could you show me a step-by-step procedure to dupluicate it?
 
 Earlier on, we did have that problem. And, I was afraid I might
 re-introduce it back.
 
 Thanks.
 Bao
 
 On Wed, May 10, 2006 at 09:37:08AM -0500, Lars Rasmussen wrote:
  I used
 
  
 http://shopping.hacom.net/catalog/pub/pfsense/pfSense-1.0-BETA3-256-ad0.img.gz
  --
  Lars
 
  On 5/10/06, Bao C. Ha [EMAIL PROTECTED] wrote:
  Hi Lars,
  
  Which image did you used?
  
  Thanks.
  Bao
  
  On Wed, May 10, 2006 at 07:07:41AM -0500, Lars Rasmussen wrote:
   Howdy all,
  
   I've installed pfSense many times since alpha revs to a hard drive,
   but never successfully to Compact Flash.
  
   I used one of Bao's 256M beta 3 CF-IDE image on a PC with a VGA
   interface(no WRAP) with a CF-IDE bridge, 256M CF card, two 3Com NICS,
   one Intel NIC, and 512M RAM.
  
   I'm looking for a way to replace
  
   /conf.default/config.xml
   with
   /conf/config.xml
  
   so my changes to the config will persist.  I'm able to access the web
   interface, but upon reboot I get a default state.
  
   Perhaps it would be better to start from a beta 4 liveCD boot  go 
 from
   there?
  
   Any pointers to applicable docs or suggested install/partioning
   scenarios would be appreciated.
  
   --
   Lars
 
 --
 Best Regards.
 Bao C. Ha
 Hacom OpenBrick Distributor USA http://www.hacom.net
 voice: (714) 530-8817 fax: (714) 530-8818
 8D66 6672 7A9B 6879 85CD 42E0 9F6C 7908 ED95 6B38
 

-- 
Best Regards.
Bao C. Ha
Hacom OpenBrick Distributor USA http://www.hacom.net
voice: (714) 530-8817 fax: (714) 530-8818
8D66 6672 7A9B 6879 85CD 42E0 9F6C 7908 ED95 6B38