[ previous ] [ next ] [ threads ]
 From:  Francois Gurin <matrix at spic dot net>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  m0n0wall znyx image / pptp-linux interop problem
 Date:  Sun, 7 Mar 2004 10:45:10 -0500
for anyone who'd like to have m0n0wall going on a nokia ip630 or other
pc with znyx network cards, i've put up a hd image based on generic-pc
for the hdd up on:

The differences between this version and manuel kasper's official generic-pc
image (used as a base) for 1.0 are the following:
        - removed dc & de drivers
        - added znyx's znb driver
        - patched sys/netgraph/ng_ppp.c (see below)
        - made znb0 and znb1 the default interfaces in the config

the patch for ng_ppp.c was changing two instances of "proto, 1" to "proto, 0"
which was done because i found a single 2 year old reference to a problem
i was having between fbsd's pptp server and the pptp-linux client.  the
problem manifested itself in the there being a 0x2145 protocol reject error 
in the server side logs.  the problem seems to do with freebsd compressing
the protocol header and pptp-linux not knowing what to do with it.  i
tested briefly with windows and macosx clients and it seems to still work
with them, but if you have pptp problems, blame this change first.

the znyx drivers work fairly well, and in the time i've been running this
setup, there have only been a few problems:
        - sometimes after a warm boot, some or all of the interfaces wont
          initialize properly.  a cold boot has always fixed it, but it
          doesn't always happen
        - bridging the interfaces doesn't seem to work.  this could be
          user error on my part, or an incompatibility with the driver.
          i just don't know right now
        - the "ps" command reports a mismatch error.

the external serial console still isn't activated.  it's on my todo list.
in the meantime you can wither use a keyboard and monitor or do the initial
configuration and assignment over the lan port.  by new default, znb0 is
assigned the lan port and address of and  znb1 is assigned
the wan port.

i think that about covers it all