[ previous ] [ next ] [ threads ]
 From:  "Frans J King" <kingf1 at cs dot man dot ac dot uk>
 To:  "'Fred Wright'" <fw at well dot com>
 Cc:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] Don't seem 2C m0n0wall on Soekris 4511 board...?
 Date:  Thu, 28 Aug 2003 09:05:56 +0100
You should be writing to the whole device not a partition. Write it to
/dev/sda not /dev/sda1. Then once it boots m0n0wall will give you an
option (on the console) to assign the network ports.



-----Original Message-----
From: Fred Wright [mailto:fw at well dot com] 
Sent: 28 August 2003 01:00
To: m0n0wall at lists dot m0n0 dot ch
Subject: Re: [m0n0wall] Don't seem 2C m0n0wall on Soekris 4511 board...?

On Wed, 27 Aug 2003, Chris Olive wrote:

> After following (what appears) to a "T" the instructions for running 
> m0n0wall (at http://m0n0.ch/wall), I don't seem to have a running 
> system.  There does appear to be one anomoly:
> (1) The instructions say:
> * net4511/net4521 only: choose "Assign network ports" in the serial 
> console menu and enter nothing for the DMZ interface name and wi0/an0 
> (and/or wi1/an1) for WLAN1(/2)
> That doesn't appear on the net4511 serial console menu at all.  Here's

> what my net4511 boot screen looks like:
> comBIOS ver. 1.15  20021013  Copyright (C) 2000-2002 Soekris
> net45xx
> 0032 Mbyte Memory                        CPU 80486 100 Mhz
> Pri Mas  SanDisk SDCFB-8                 LBA 245-2-32  7 Mbyte
> PXE-M00: BootManage UNDI, PXE-2.0 (build 082)
> Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int
> -------------------------------------------------------------------
> 0:00:0 1022 3000 06000000 0006 2280 00 00 00 00000000 00000000 00
> 0:09:0 104C AC50 06070002 0107 0210 10 3F 02 A0000000 020000A0 10
> 0:18:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0001000 11
> 0:19:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0002000 05
>  4 Seconds to automatic boot.   Press Ctrl-P for entering Monitor.
> comBIOS Monitor.   Press ? for help.
>  > show
> ConSpeed = 9600
> ConLock = Enabled
> BIOSentry = Enabled
> PCIROMS = Enabled
> PXEBoot = Enabled
> FLASH = Primary
> BootDelay = 5
> BootPartition = Disabled
> ShowPCI = Enabled
>  > ?
> comBIOS Monitor Commands
> boot [drive][:partition] INT19 Boot
> reboot                   cold boot
> download                 download a file using XMODEM
> flashupdate              update flash BIOS with downloaded file
> time [HH:MM:SS]          show or set time
> date [YYYY/MM/DD]        show or set date
> d[b|w|d] [adr]           dump memory (bytes/words/dwords)
> e[b|w|d] adr value [...] enter bytes/words/dwords
> i[b|w|d] port            input from 8/16/32-bit port
> o[b|w|d] port value      output to 8/16/32-bit port
> cmosread [adr]           read CMOS RAM data
> cmoswrite adr byte [...] write CMOS RAM data
> cmoschecksum             update CMOS RAM Checksum
> set parameter=value      set system parameter to value
> show [parameter]         show one or all system parameters
> ?/help                   show this help
>  >
> I don't see an "Assign network ports" option anywhere?  Is there 
> something I'm missing?  The net4511 documentation appears to be quite 
> thin, so I'm hoping someone here sees something...

All of the above is from the Soekris ComBIOS, and has nothing to do with
m0n0wall at all.  In fact, almost all of it would have been the same
no CF card installed, except the one line that indicates that it found
card and gives its capacity and geometry.

> The CF seemed to write well.  I used 'dd' under Linux:
> $ gunzip -c net45xx-pb14r458.img | dd of=/dev/sda1 bs=16k
> 320+0 records in
> 320+0 records out
> ...was my output.  That matches with the CF size uncompressed (16384 x

> 320).  The MD5 checksum matched...

You might try reading it back with dd and comparing it.  I presume "MD5
checksum" referred to the file, not the CF contents.  Note that the
"bs=16k" isn't always desirable, depending on the writer, and contrary
Manuel's assumption I don't think matching it to the internal CF
helps.  It probably does make it write a little faster than with the
default of 512, but maybe that's why it sometimes causes trouble. :-)

Make sure the device name you use under Linux refers to the entire
not a partition.  I made that mistake the first time I did it.  I don't
know off the top of my head whether "sda1" is the right thing or not.

> I tried a "boot 80" command from the net4511 console and that didn't 
> work either.  Also tried (with a network crossover cable -- I don't

Just "boot" would be fine, but obviously something about booting isn't
working, and none of the output you included pertains to that aspect.

> why that wouldn't work?) to obtain an IP address via DHCP on the LAN 
> port (Eth 0 on the net4511) -- both ports actually.  Nothing.  So I'm 
> kinda at my wits end here.

It can't do anything with the network until it's configured (unless
netbooting, which requires jumping through a *different* set of hoops),
which can't happen until after it's booted.  It does not have the
to configure itself dynamically over the network.

When it boots properly, you should see about a half dozen lines of
from the FreeBSD bootloader (with some "twirly slashes" during the long
pauses), followed by about 60 lines of output from the kernel startup,
followed by severl ines of m0n0wall herald and minimal config report,
ending up in a little menu giving you 5 choices.

					Fred Wright

To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch