Re: [Soekris] [SPAM] Re: yet another dead 6501

2017-09-07 Thread Stuart Henderson
On 2017-09-05, Hendrickson, Kenneth  wrote:
> No, let me correct that.
>
> I think the APU hardware has some PCI-E slots.
> I think I bought wireless hardware, that was advertised as being compatible 
> with OpenBSD.
>
> And I haven't been able to get it working yet.  :-(
>
> Most of that work was in the December 2015 timeframe, so it was a while ago.
>
> I've forgotten .

Make sure that you are using a minipcie slot not the msata slot.
If it still fails, check that the bios is up to date, and if that doesn't
help, post to m...@openbsd.org with a dmesg.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net6501: doesn't start if not first unplugged for 8 minutes

2017-04-25 Thread Stuart Henderson
On 2017-04-19, Nenhum_de_Nos  wrote:
> as many of you I got my dead one here. Now I look foward to a new brand, and 
> look for same kind of issues on the new APU2 from PcEngines.

APU2 is still a bit new to identify this type of problem. I haven't
seen any problems with WRAP, ALIX or APU1 and I don't see a reason for
it to be different. But then neither have I seen problems with net4501,
net4521, net4801, net5501 - all have been rock solid.

> Does anyone knows if there is a mailing list, just as this, for their
> products?

Just the web forum.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net5501: FreeBSD ipfw and the elusive 75Mbps throughput

2016-06-11 Thread Stuart Henderson
On 2016-06-10, Jed Clear  wrote:
>> The vr driver always copies transmit mbuf chains into longword-aligned
>> buffers prior to transmission in order to pacify the Rhine chips.  If
>> buffers are not aligned correctly, the chip will round the supplied
>> buffer address and begin DMAing from the wrong location.  This buffer
>> copying impairs transmit performance on slower systems but cannot be
>> avoided.  On faster machines (e.g. a Pentium II), the performance
>> impact
>> is much less noticeable.
>
> Interesting. You'd think the drivers would align the packets on Rx and I 
> vaguely recall that FreeBSD managed to go zero copy a few major versions ago. 
>  Although that could be for straight forwarding.  IPFW and NAT might behave 
> differently.  Not sure I'd have any control over it. 

The manpage is outdated, this is only done for the old chips.
It's not needed and isn't done for VT610x.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net5501: FreeBSD ipfw and the elusive 75Mbps throughput

2016-06-09 Thread Stuart Henderson
On 2016-06-09, Christopher Hilton  wrote:
> At the end of the day I think that 75 ~ 85 MBit's per second is the =
> limit on the vr interface in net5501.

Bandwidth is only part of the equation; packets-per-second matter too.
Even if you get to 75-85Mb/s I'd still consider that as a stopgap,
if you get a lot of small packets you run out of steam again.

> If you only have one firewall/router I'd replace it with either =
> a Net6501 or some other Intel Atom/PCIe/Intel Gigabit based solution.

If looking at other vendors, don't restrict yourself to boards with
Intel CPUs, there are also some small boxes using AMD GX-412TC and
Intel I210AT NICs (em) that work quite nicely.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] I see development of the net6801 has been dropped.

2015-10-19 Thread Stuart Henderson
On 2015-10-19, Dan Shechter  wrote:
> On Mon, Oct 19, 2015 at 9:26 AM,   wrote:
>>> Jerome Ibanes  hat am 19. Oktober 2015 um 01:09
>>> geschrieben:
>>> Does anyone has experience with Supermicro SYS-5018A-FTN4?
>>>
>>> Specs: http://www.supermicro.com/products/system/1U/5018/SYS-5018A-FTN4.cfm
>>> Quote: http://www.newegg.com/Product/Product.aspx?Item=N82E16816101837
>>>
>>> The quality is certainly not comparable to what we've seen from
>>> Soekris, but this seems to be an acceptable solution for the price.
>>
>> I am using one of them and pretty happy. IMHO it's a good Soekris 
>> replacement.
>
> What about Serial console, especially for the BIOS?
>
> -Dan

They have a BIOS option to set them to use serial console, it's not active
by default so you need to plug in a keyboard or use IPMI for initial setup.

Watch out for IPMI on these. This usually *is* enabled by default, setup with 
a common default admin password, and to share the first main NIC if nothing's
connected to the management port, leaving access to the console/power/etc a
lot wider open than you probably want.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Fragmented packets with force 100/Full on the 5510-60

2014-06-12 Thread Stuart Henderson
On 2014-05-26, François Cachereul f.cacher...@alphalink.fr wrote:
 Hi,

 We have the following problem with the 5510-60 running Linux (2.6.26 or
 3.2):
 The second fragment of packets send on an interface configured 100 full
 without auto-negotiation is not send. The problem happens in this
 precise case not with 100 half nor 10 full/half. It can be solve setting
 the interface down and up (with ip link for example).
 This problem seem to be a hardware as it does not happen with the same
 Linux driver on another equipment (Via Rhine II - VT6102).

Testing VT6102 doesn't really rule anything out, it has a number of
differences to VT6105M so the driver will take some different codepaths.

If your driver enables checksum offload, it may be worth trying with that
disabled?.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] any hints for an adsl pci card for opensbd ?

2014-04-06 Thread Stuart Henderson
On 2014-04-06, Jan Ceuleers jan.ceule...@computer.org wrote:
 On 04/05/2014 07:44 PM, Vittorio Cipriani wrote:
 Hi,
 I want buy some soekris device to build an openbsd hardened firewall,
 but I need of an advice about an adsl pci modem card. Anyone could help me ?

 ADSL-only: Sangoma S518. You'll need drivers though; there's a howto on
 the Sangoma website.

 ADSL2+ (with fallback to ADSL): Traverse Viking. No drivers needed
 because the card presents itself to the system as a Realtek Ethernet
 interface.

 You'll probably have to get these second-hand somewhere because I think
 that they're both end-of-life.

 Jan

The original post said,

  I'd avoid a pci card with a router abilities because I have
  some doubts about its security. I mean that a typical home
  netgear/linksys  router are really easy to hack. it's very
  simple download the firmware from the vendor site, uncompress
  it and then insert some kind of trojan/sniffer then flash it
  on the device. So I have the same suspects on  pci router
  card thus I want a pure adsl modem card instead of a mdem
  router. And finally why shoud I want a router inside a host
  with just one ethernet port 

So the Viking-type cards (router glued onto a PCI ethernet i.e
http://linitx.com/product/adsl2-pci-card-single-port-adsl-modem-annex-a/12181)
are exactly what OP is trying to avoid.

For the pure adsl modem card it's going to be something like a
Solos (if you can find a source, as they are EOL) or S518 (sangoma's
site doesn't say they are EOL, though the OS support list doesn't
include anything recent, so may need some fiddling for current
systems, and they're adsl1 only). But there is no driver support
for any of these on OpenBSD.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net6501 : CPU architecture ?

2013-05-13 Thread Stuart Henderson
On 2013-05-10, Conrad Kostecki conik...@gmx.de wrote:
 Am 10.05.2013 16:14, schrieb fabrice bessettes:
 Hi list,

 [...]

 But I was wondering if the Soekris CPU E6xx  is really a 64 bit CPU ? or
 if the openBSD kernel amd64 includes 32-bit in it. In this case, I might
 reinstall my system.

OpenBSD/amd64 only runs in 64-bit mode.

 Seems so. Ubuntu and Gentoo work perfectly fine with a 64-Bit kernel out 
 of the box. Without any patching. So the CPU seems to be 64-Bit 
 capable.. I don't know, why Intel says, that this is not possible.

 Cheers,
 Conrad

The CPU is supposed to only support 32-bit mode but it appears that the
6501 bios may not set this up correctly.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net6501: temps and fans redux

2013-03-23 Thread Stuart Henderson
On 2013-03-20, Peter Neubauer pneuba...@bluerwhite.org wrote:
 As I understand it, the CPU temperature sensor is relative to a 
 parameter called Tjmax (maximum junction temperature), but the hardware 
 provides no way for software to determine this parameter.  The Linux 
 driver requires a special option to set the correct Tjmax (coretemp 
 tjmax=90).  I presume OpenBSD needs a similar option.

If only there was a platform independent mechanism by which a computer
could tell the OS about things like power states, temperatures, watchdogs,
etc...


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] RESOLVED: Problem on net5501 upgrading to FreeBSD 9.1 from 8.3

2013-02-21 Thread Stuart Henderson
On 2013-02-18, Corey Halpin chal...@cs.wisc.edu wrote:
  I don't know if the code in 9.1 is using IDE emulation or trying to get=20
 configuration information via AHCI.

The CS5536 in the net5501 does not have AHCI, the SATA connector is behind a 
bridge.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Clock losing time on Net5501

2013-02-14 Thread Stuart Henderson
On 2013-02-13, Christian Weisgerber na...@mips.inka.de wrote:
 Joakim Aronius joa...@aronius.se wrote:

 [OpenBSD]
 I have not had time to look into the 'new' rc.d controlsystem for
 starting and stopping services but a cronjob with '/etc/rc.d/ntpd
 restart' should do the same thing as a reboot.. But I could not find
 anything on special handling like writing hw clock during shutdown,
 could be internal in ntpd.

 ntpd(8) doesn't have anything to do with it.  The hardware clock
 is set by the boot(9) call when halting/rebooting the system.

 settimeofday(2) and clock_settime(2) will also set the hardware
 clock.  However, only ntpd -s calls settimeofday, once at startup.
 In normal operation, ntpd uses adjtime(2), which does not touch the
 hardware clock.

So, in theory, this should force it to be written:

# date $(date +%Y%m%d%H%M.%S)

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Soekris 6501-70 / 6501-50 Network Throughput under Debian / OpenBSD

2012-11-14 Thread Stuart Henderson
On 2012-11-14, Lon Willett x_soek...@lonw.net wrote:
 On Mon, 12 Nov 2012 13:51:54 +0100
 Mitja Muženičmi...@muzenic.net  wrote:
 I don't know how it is with other operating systems but it's safe to
 presume that unless your OS actively sets the CPU to the high speed
 state your net6501-50 and net6501-70 units will be severely
 underclocked.

 So linux has been lying to me: my net6501-70 CPU is really running at 
 600 MHz.  That explains why it's so slow with its (fortunately rare) CPU 
 intensive tasks.

This is because the TSC (timestamp counter) used to calculate cpu
speed is run at a constant rate in these newer Intel CPUs (indicated
by the constant_tsc flag in Linux /proc/cpuinfo, or CTSC in the cpu
attach line in very recent OpenBSD -current),unless the OS knows how
to handle this, it will report the maximum cpu speed, so you don't
see that it was running at a lower rate.

http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-src/commit/?id=4b2a0a3689f8b7eb014d69d959ba537e89339103


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


[Soekris] UK Soekris resellers?

2012-09-26 Thread Stuart Henderson
Are there any UK-based Soekris resellers (other than a rather expensive
amazon vendor with no feedback)? Pricing in EUR/USD can be a bit awkward
in some cases so there are times this would be useful. Not looking for any
myself right at the moment (though I'd been wondering a while, during
which time I've bought a couple of pcengines boards from linitx because
they'll turn up the next day at a known price) but this mail was prompted
by someone asking on IRC and other people mentioning that this had put
them off buying hardware..


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Soekris Net-5501 and TightVNC?

2012-07-21 Thread Stuart Henderson
On 2012-07-20, aa...@aa6qn.sytes.net aa...@aa6qn.sytes.net wrote:
 As a TightVNC server. I was looking for the proper Linux kernel graphics
 framebuffer to compile into the kernel to support a virtual vnc
 framebuffer.

You're probably looking for Xvfb (this doesn't need anything in-kernel).

 I did see some mini-pci video cards on ebay that I was considering.

The Soekris boards are not really the wrong hardware if you want to run a video 
card.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net4801 reset button in OS

2012-07-21 Thread Stuart Henderson
On 2012-07-18, David Mattes mat...@asguardnetworks.com wrote:
 --===1034955111==
 Content-Type: multipart/alternative; boundary=f46d042dfdc5134ed304c521fa6c

 --f46d042dfdc5134ed304c521fa6c
 Content-Type: text/plain; charset=ISO-8859-1



 
  Has anyone had success implementing software reset?  How?

 http://lists.soekris.com/pipermail/soekris-tech/2009-December/016234.html

 Thank you!  Ugh, I realized I have a 4501 board, not a 4801.  I had seen
 the post you mention, but it's still not clear to me how those pins map to
 memory locations that can be programmatically read.

Should be in the Elan SC520 datasheet if you aren't using an OS which
already provides a driver for this, or you can probably find some old code
if you search for things like net4501 gpio etc.

For the reset button I don't know if it's latched on the 4501 but I guess
it's likely. Dump the state of all the gpio lines, then press the button once,
dump again and see what changed...


 Regards,
 David

 --f46d042dfdc5134ed304c521fa6c
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable

blockquote class=3Dgmail_quote style=3Dmargin-top:0px;margin-right:0px;=
 margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color=
:rgb(204,204,204);border-left-style:solid;padding-left:1exdivdiv class=
=3Dh5
brgt;brgt; Has anyone had success implementing software reset? =A0How=
 ?brbr/div/diva href=3Dhttp://lists.soekris.com/pipermail/soekris-=
 tech/2009-December/016234.html target=3D_blankhttp://lists.soekris.com/=
 pipermail/soekris-tech/2009-December/016234.html/abr
br/blockquotedivThank you! =A0Ugh, I realized I have a 4501 board, no=
 t a 4801. =A0I had seen the post you mention, but it#39;s still not clear =
 to me how those pins map to memory locations that can be programmatically r=
 ead./div
divbr/divdivRegards,/divdivDavid/div

 --f46d042dfdc5134ed304c521fa6c--

 --===1034955111==
 Content-Type: text/plain; charset=us-ascii
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline

 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech

 --===1034955111==--


Is the html mail really necessary?


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net4801 reset button in OS

2012-07-18 Thread Stuart Henderson
On 2012-07-11, David Mattes mat...@asguardnetworks.com wrote:
 --===0246186895==
 Content-Type: multipart/alternative; boundary=14dae93407b385b3c804c4853238

 --14dae93407b385b3c804c4853238
 Content-Type: text/plain; charset=ISO-8859-1

 Hi,

 I have changed the Reset button behavior in net4801 BIOS from Hard to Soft.

 Is it possible to read the reset button state in the *nix operating system?
  I'm looking for documentation on how/where this button is attached to the
 CPU I/O and can not find anything.

 Has anyone had success implementing software reset?  How?

http://lists.soekris.com/pipermail/soekris-tech/2009-December/016234.html


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Soekris 6501-70 / 6501-50 Network Throughput under Debian / OpenBSD

2012-07-05 Thread Stuart Henderson
Replying to an old(ish) post.

On 2011-12-14, Josh mylis...@gmail.com wrote:
 Is there any way to improve the network throughput under OpenBSD?

Some more information came to light...
Here's a workaround until it can be fixed:

sysctl hw.setperf=0
sysctl hw.setperf=100


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Network console and other net6501 features

2012-05-30 Thread Stuart Henderson
On 2012-05-30, Chris Wilson chris-soek...@aptivate.org wrote:
 I have a feeling that the serial console, the only way to configure a 
 Soekris, 
 is very 1970s. Admittedly it is quite reliable, but slow, fiddly, most modern 
 computers don't even have a serial port any more, and I've found 
 USB-to-serial 
 converters quite unreliable, with dropped characters causing issues using the 
 terminal and boot menu.

Sounds like you have bad USB-to-RS232 converters, I and many others find
serial console access highly reliable and simple, even via USB, fast enough
for the purpose, and (as a big advantage over ethernet-based access) it is
unaffected by NIC firmware crashes etc. This is especially useful on
machine likes these where the serial port can be used to forcibly
reset the power supply (+++ POWER) which can clear the majority
of such problems that might be encountered.

 I've found it useful to connect a Wiznet serial-to-LAN gateway to in-school 
 servers, to allow remote access to the serial console even if the machine is 
 misbehaving. However this is pretty ugly to look at, and fragile.

I guess ugliness/fragility would depend on what enclosure you use...


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Resolved - Re: Bridging OpenBSD

2012-05-01 Thread Stuart Henderson
On 2012-04-27, Lars Noodén lars.noo...@gmail.com wrote:
 Thanks to those who responded.  The hints helped.

 A way to get DHCP over bridged interfaces in OpenBSD is to make the
 bridge but assign an IP number to each interface anyway, not just the
 first one.  dhcpd will squawk about interfaces sharing the same subnet,
 but will bind to the first one if it is configured to do so.   The
 bridge itself is not allowed an ip number of its own.

 In that way each of the hosts plugged into the Soekris are available on
 the same subnet.

 /Lars

You should not be assigning addresses to more than one interface.

Is there a problem with the method I suggested i.e. put the address
on *one* interface and list the interface names in dhcpd_flags?

I suggest following up on an openbsd list as this is not a soekris
issue.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Bridging OpenBSD

2012-04-29 Thread Stuart Henderson
On 2012/04/29 14:24, Malcolm Herbert wrote:
 On Sat, Apr 28, 2012 at 08:05:27PM +, Stuart Henderson wrote:
 |On 2012-04-26, Greg Troxel g...@work.lexort.com wrote:
 | I wonder if the issue is that dhcp is implemented by bpf, and bpf raw
 | frames are not bridged.
 |
 |Yes, exactly. You would need to specify the list of network adapters
 |in dhcpd_flags in /etc/rc.conf.local, then /etc/rc.d/dhcpd restart.
 
 wierd ... wonder why mine works on NetBSD then ...

probably because because NetBSD is different to OpenBSD..
sounds like maybe it duplicates frames to bpf listeners on any member
interface of a bridge; this would simplify dhcpd configuration but I think
also makes it harder to use bpf to diagnose problems with the bridge,
it would prevent you checking on which physical port traffic is sent/
received on.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Bridging OpenBSD

2012-04-28 Thread Stuart Henderson
On 2012-04-26, Greg Troxel g...@work.lexort.com wrote:
 I wonder if the issue is that dhcp is implemented by bpf, and bpf raw
 frames are not bridged.

Yes, exactly. You would need to specify the list of network adapters
in dhcpd_flags in /etc/rc.conf.local, then /etc/rc.d/dhcpd restart.



___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] No Debian mirrors available during installation

2012-04-06 Thread Stuart Henderson
On 2012-04-05, Lars Noodén lars.noo...@gmail.com wrote:
 I'm trying to install Debian on a net5501 and regardless of whether I
 try to get squeeze, wheezy or sid, the same error pops up:

   The installer failed to download a file from the
   mirror...Retry, Change mirror, Cancel

 The installation process detects network hardware fine (eth4: Realtek
 Semiconductor ...) and successfully gets an address via DHCP.  However,
 it's not able to reach any mirrors.

Realtek - I presume this is a pci nic then? do the onboard ones work? 


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] problems with net6501-70

2012-03-20 Thread Stuart Henderson
On 2012-03-20, Ulf Zimmermann u...@openlane.com wrote:
 Trying pfsense and FreeBSD9.0 via pxeboot, I get at some point to see
 the swirly on my serial terminal but nothing else, it is as if all other
 text is white on white or black on black. Has anyone seen something
 similar? I am not very picky about what I put on these, as soon I get
 ... a NTP daemon, as I want to use these as our NTP masters for the
 internal network.

This sounds like the boot loader hasn't been told to put the console
on the serial port, so you don't get output after the kernel has
started running.

I don't know how to set this for pfsense/FreeBSD, there should be
something in documentation for the boot loader. On OpenBSD you
either type 'set tty com0' into the boot loader, or place that line
in /etc/boot.conf on the tftp server that you pxeboot from.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net6501: Timer problems with Debian, no HPET support detected

2012-03-11 Thread Stuart Henderson
On 2012-03-10, Frank Schuhmann f.schuhm...@t-online.de wrote:
 Is the bios from the Soekris net6501 ACPI conform?

No

This came up on the list before, see Re: FreeBSD/amd64 on
Net6501 working! from Dec 2011.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] confused about installing pfSense on net6501

2012-03-01 Thread Stuart Henderson
On 2012-02-29, Ovidiu Predescu ovi...@gmail.com wrote:
 Method 1: PXE install

 I first tried to use PXE to do the install. I have a small machine
 that runs dnsmasq as DHCP and TFTP server. I downloaded the
 pfSense-2.0.1-RELEASE-i386.iso.gz and installed the contents of the
 file in a directory accessible to the TFTP server. I'm serving the
 boot/pxeboot file from the tftp server. The net6501 box finds the
 pxeboot file, but it gets stuck shortly after:

 Building the boot loader arguments
 Relocating the loader and the BTX
 Starting the BTX loader

 It looks like the next load phase never happens.

I don't know the FreeBSD/pfSense boot process particularly well,
but that seems like it most likely *is* booting, just isn't using
the serial console. Look for a boot-loader parameter to adjust this.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Searching for PCI Express, UMTS card + SIM card dock

2011-12-30 Thread Stuart Henderson
On 2011-12-30, Thomas Merkel t...@core.io wrote:
 Hello everyone,

 i'm looking for an UMTS card for the PCI-Express slot. My Soekris board
 is an net6501. One of the important things are that the UMTS card should
 work on Linux and has an SIM dock included.

 Have someone experience with an good PCI-Express card?

 Thanks and best regards,
 Thomas

It's a bit awkward.

There are lots of cheap holders that carry a MiniPCIe card in a PCIe slot,
but these have no SIM holder.

Someone posted here a while ago with some suggestions; one is to use a
half-size MiniPCIe UMTS card (which don't seem to be very common) in a riser
(Delock 65230) which fits the full size MiniPCIe slot and includes a SIM holder.

There is also Delock 89235 which fits the PCIE slot and includes a SIM holder
and antenna connectors, but it looks like it also requires a connection to
a USB header in order to use the SIM holder. (I don't have one so don't
know for sure about this).

Or you might find some stock of the end-of-life Novatel EU850D which has
a sim-holder built-in, but afaik this is the only card which does.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] vr0 using OpenBSD stops responding.

2011-12-10 Thread Stuart Henderson
On 2011-12-09, Brandan Rowley brandan.row...@cityofthornton.net wrote:
 Windows 7 PC to the network.  Performing file transfers from the Windows 7 =
 PC's across the VPN tunnel causes the internal interface of the net5501 to =
 stop responding.  A reboot is needed to get the interface communicating aga=
 in.  This repeatable.  Windows XP clients have no issues.  Is this a fix or=
  workaround for this?  I've tried OpenBSD 5.0 and read of similar issues on=
  OpenBSD, but have not found a resolution.

There was a very recent fix for a vr(4) problem committed to -current,
I would try updating the OS to 5.0 then updating sys/dev/pci/if_vr*
to the latest version and building a new kernel.

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/

This is probably a candidaatte for going into 5.0-stable after it's
had more testing.

As to why Windows 7 but not XP triggers it, this is probably due to
improvements in their network stack making it likely traffic is sent
more rapidly over a medium/high-latency link.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] vr0 using OpenBSD stops responding.

2011-12-10 Thread Stuart Henderson
Might be worth looking at ciphers/hashes and see if switching to
a different type improves things.

Don't automatically assume that hw acceleration is going to help;
it reduces cpu use but has high overheads so it can make things
worse in some cases.


On 2011-12-09, Brandan Rowley brandan.row...@cityofthornton.net wrote:
 Hi Aric,

 Thanks for the reply.  That sounds about right, I'm getting about 7Mbit of 
 IPsec traffic.  I have tried turning on/off ipcomp with no real improvement.  
 For this particular tunnel I'm now needing more throughput.  I've been 
 looking at the net6501 and am considering giving it a try.

 Regards,
 Brandan

 -Original Message-
 From: Aric Warsaw [mailto:awar...@gmail.com] 
 Sent: Friday, December 09, 2011 3:43 PM
 To: Brandan Rowley
 Cc: soekris-tech@lists.soekris.com
 Subject: Re: [Soekris] vr0 using OpenBSD stops responding.

 Hi Brandan

 I've experienced just this even with the crypto accelerator card.
 That was back on OpenBSD 4.8.  I've found that about 8-10Mbit of IPsec 
 traffic is all you're going to get out of these guys...your mileage may vary. 
  Taking IPsec full throttle for 30 minutes or longer was causing my 5501 to 
 fall off the networklost layer 2 and serial to the box entirely.

 My work around was to QoS the IPsec traffic down.  Another option that I 
 hadn't done personally and assuming you've enabled ipcomp, you can turn it 
 off to save CPU resources.  Again hadn't done it.  Most IPsec documentation 
 for OpenBSD tells you to enable this in /etc/sysctl.conf, so it might break 
 your flows and SAs.

 This is the setting:  net.inet.ipcomp.enable=1  # 0 to disable or just 
 comment out the line

 Let us know if you try it and notice a difference.  Hope that helps.

 -Aric





 2011/12/9 Brandan Rowley brandan.row...@cityofthornton.net:
 Hi,

 I am new to the list so be gentle if this has been posted already.? I 
 am using two net5501 (with the VPN chip) running OpenBSD 4.9 to setup 
 a VPN tunnel.? The tunnel has been up and running for a while.? We've 
 recently added Windows 7 PC to the network.? Performing file transfers 
 from the Windows 7 PC's across the VPN tunnel causes the internal 
 interface of the
 net5501 to stop responding.? A reboot is needed to get the interface 
 communicating again.? This repeatable.? Windows XP clients have no issues.
 Is this a fix or workaround for this?? I've tried OpenBSD 5.0 and read 
 of similar issues on OpenBSD, but have not found a resolution.

 Regards,
 Brandan


 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] vr0 using OpenBSD stops responding.

2011-12-10 Thread Stuart Henderson
On 2011-12-10, Frank Schuhmann f.schuhm...@t-online.de wrote:
 Hi Brandan,

 on the Windows 7 side all significant updates are done?
 You?ve checked the Windows 7 internal firewall, to be sure that the false is 
 not
 pointed or placed in their?

 Because you wrote that the Win XP was not producing the problem, but Win 7
 should do it, it is perhaps the TCP window scaling, as declared in the RFC 
 1323.
 In some similar other cases it was sometimes fixing the problem (pfsense) and 
 in
 sometimes also not, but to quick test it out the spended time will to be of
 value.   

Yes this is what I meant about the improvements in the Windows network stack.
This sort of thing used to cause a problem with stateful firewall rules in 
places
(because we do sequence number tracking) until we started doing flags s/sa keep
state by default. However it wouldn't result into the interface totally locking
up until it's reset. (btw Brandon, Note that ifconfig vrX down; ifconfig vrX 
up
would probably also clear it without a full reboot).

 On the BSD side perhaps you try to turn of the scaling, I?m not an OpenBSD
 professional but it must be turn out by setting up a shell order likes sysctl
 -w net.inet.tcp.rfc1323=0 
 If not or it must be typed in, in other direction it will be super that 
 perhaps
 an OpenBSD familiar list member would correct this please.

This is the correct command but it only affects the local tcp stack,
not forwarded packets, so I think this will have no effect here.


 And at the other point I consider what Stuart Henderson was mentoring to you.
 Perhaps the best at all,   
 but keeping an eye on the net6501 is also a nice option ;)


 I hope this is helping you out. 

 
 Kind regards

 Frank

 -Original Message-
 From: soekris-tech-boun...@lists.soekris.com
 [mailto:soekris-tech-boun...@lists.soekris.com] On Behalf Of Brandan Rowley
 Sent: Friday, December 09, 2011 11:11 PM
 To: 'soekris-tech@lists.soekris.com'
 Subject: [Soekris] vr0 using OpenBSD stops responding.

Hi,
I am new to the list so be gentle if this has been posted already.  I am using
 two net5501 (with the VPN chip) running OpenBSD 4.9 to setup a VPN tunnel.  
The tunnel has been up and running for a while.  We've recently added Windows 
7
 PC to the network.  Performing file transfers from the Windows 7 PC's 
across the VPN tunnel causes the internal interface of the net5501 to stop
 responding.  A reboot is needed to get the interface communicating again.  
This repeatable.  Windows XP clients have no issues.  Is this a fix or
 workaround for this?  I've tried OpenBSD 5.0 and read of similar issues on
 OpenBSD, 
but have not found a resolution.

Regards,
Brandan


  

 __ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 6699
 (20111210) __

 E-Mail wurde gepr?ft mit ESET NOD32 Antivirus.

 http://www.eset.com
 =

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] new to list

2011-10-20 Thread Stuart Henderson
On 2011-10-20, Ralph Green sfrea...@sbcglobal.net wrote:
  If you want to run Ubuntu, think about the version you want to run.
 Starting with Ubuntu 10.10, Ubuntu requires a CPU with CMOV support.
 They compile it for the 686 architecture, but the CMOV support is the
 only thing I have found that is needed that a 486 does not have.  The
 geode on the Soekris 4500 series and 4801 boards is only capable of
 running an Ubuntu kernel up to version 10.04(supported with security
 updates for servers until 2015).  I don't have any Geode LX boards(which
 the 5501 uses), so I can't say for sure, but I expect the 5501 would
 work with newer Ubuntu versions.

No Ubuntu to test here, but geode LX does have CMOV support.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Using net5501 as a switch

2011-06-12 Thread Stuart Henderson
On 2011-06-12, Christopher R. Hertel c...@ubiqx.mn.org wrote:
 There are four-port (actually 5-port) switches on PCI cards out there.

 These cards provide 10/100/1000 switching between all five ports, but one of
 the ports is wired internally to the PCI bus and makes the device look like
 a regular Ethernet card.

 I have no idea if any such card would work in a Soekris system.  I just know
 they're out there.

 The only advantage of using such a card with a Soekris, however, is that you
 could get one with all five interfaces running at 1Gbps.  As has been
 discussed on this list previously, that might not actually be a good thing.

The other advantage of these cards is that typically they're vlan-
capable and, in some OS, can be programmed by the machine.

 The cheaper and probably better solution would be to get an inexpensive
 five-port GigE switch and connect the first port to the Soekris.

There are cheap vlan-capable small switches (there's a routerboard
one, for example, with some interesting features like vlan tag
translation and rate limiting) but typically these must be
configured by a web interface.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Avoiding inadvertent PXE boot

2011-05-13 Thread Stuart Henderson
On 2011-05-13, Devin Reade g...@gno.org wrote:
 What settings should be selected to maximize the chance of booting 
 from the SATA SSD drive under such circumstances?  I suspect that
 the problem is the BootDrive setting which for all three machines is
 BootDrive = 80 81 F0 FF

there is no manual for the 5501 and the 4801 manual is outdated, but there
is some documentation that soekris customers have written themselves in
http://wiki.soekris.info/What_do_all_those_BIOS_settings_do? which explains
this setting.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] What's the difference between OpenSoekris and flashrd?

2011-04-18 Thread Stuart Henderson
On 2011-04-16, Ed Flecko edfle...@gmail.com wrote:
 Thank you Chris.

:-)

 1.) What's the openbsd.vnd file, and how would you mount it?

See the FAQ,
Modify new /etc to include necessary configuration.

 2.) If you DO mount it and wanted to edit the /etc files, I can see
 how you could configure PF, but you couldn't configure the NICs of the
 Soekris (could you?), because their respective re0 (or however their
 NIC's are identified) aren't yet created...because you installed the
 OS on the CF while it was attached to another PC.

Just create the hostname.vr0/whatever files in the /etc.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] *BSD vs Linux

2011-04-16 Thread Stuart Henderson
On 2011-04-14, Steve Clark scl...@netwolves.com wrote:
 Look I was only responding to the person that wanted to use *BSD and
 not have to make public enhancements, changes, etc,nbsp; he or his
 companybr
 made. That to me makes it seem he/them was/were only interested in
 taking and not returning anything. br

It is quite possible to provide source code for most changes you make
and hold back on some of them. Indeed GPL can be a real administrative
hassle if you have some changes which upstream is not interested in
taking, you have to maintain a local copy of any code you've supplied
to others just in case one of them decides they want a copy of the
source sometime in the future.

Many people *do* feed code back even when they aren't required to,
because to do otherwise often means redoing your work to fit in with
changes made in upstream code. For any significant change this can
be a huge amount of work, so there's no point in keeping something
private unless it's either trivial or worth a lot.

In any event, the GPL doesn't stop people from taking without
returning anything. I would guess probably the majority of people
who don't pay for their software give nothing back whatever the
license. GPL doesn't force people to give anything back, it's
just about making sure people who receive your binaries also
get source code.

Anyway you should wait for my brother, he's much bigger
and much tastier... Trip trap, trip trap, off to munch the
sweet grass the other side of the river.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] speed throughput

2011-02-23 Thread Stuart Henderson
On 2011-02-22, Nick Knight n...@omniis.com wrote:

 I am looking to get a feeling for the capability of the soekris equipment. I
 have been using the net 4501 for a number of years and just started looking
 at the 5501.

 As Internet speeds are increasing so has the requirements on these devices.

 So what experiences do you have of getting high speed through put and on
 what OS/device etc.

 We have only taken the net 5501 up to around 20MB, throughput - will you get
 more through it?

Yes, but how much throughput you can get depends on packet sizes,
OS and configuration. While you can get close to 100mb/s with bulk
transfers, fire a bunch of small packets through and it will be
much more restricted.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] vpn1401 rng / hifn7955

2010-12-19 Thread Stuart Henderson
On 2010-12-18, Nix n...@esperi.org.uk wrote:

 Is this a bad time to point out that with http://entropykey.co.uk/ you
 could have had a very paranoid hardware RNG with known-working Linux
 support? :)

 (yes, it probably is, I know.)

 I have one on my net5501 and it works perfectly, also feeding entropy to
 the other machines on my network (at 4Kb/s of entropy you're unlikely
 to need more than one on a small network).

fwiw, the Geode LX on the 5501 has an RNG onboard...


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Install OpenBSD on net4501 with a compact flash?

2010-11-02 Thread Stuart Henderson
On 2010-10-29, Ed Flecko edfle...@gmail.com wrote:
 I've found a few tutorials using the PXE boot method, but that seems
 pretty cumbersome.

Really it's not, it saves a lot of rebooting the machine with the
CF hard drive adapter and swapping cards around (which can be fiddly -
you might like to leave a little tab of tape sticking out to use as
a handle).

If you do use the swap-cards-around method don't forget to set things
up to use a serial console otherwise you'll have to put the card back
in the other machine and edit /etc/ttys and /etc/boot.conf.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] (no subject)

2010-08-01 Thread Stuart Henderson
On 2010-07-30, JF Straeten jfstrae...@scarlet.be wrote:
 On Fri, Jul 30, 2010 at 08:51:55AM -0700, Shabnam Koosha wrote:

 I have a soekris net4526 and I want to change the OS. I want to
 install FREBSD on it and its current OS is Pyramid linux (such a
 headache). Does any one know how to install a new OS on it? I am
 kind of newbie, please help me. :)

 You'll find suitable documentation here :

 http://wiki.soekris.info/Main_Page#Operating_Systems

 and specifically for FreeBSD here :

 http://wiki.soekris.info/Installing_FreeBSD

Good pointers, but be aware that the net4526 has at most 256MB,
and possibly as little as 16MB, of flash storage. So it's fairly
likely you'll need to produced a cut-down image and copy it to
the flash storage via some other OS (possibly the installed
Pyramid linux, or possibly something else via pxeboot).


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Would a net5501 reliably host a web site?

2010-06-26 Thread Stuart Henderson
On 2010-06-24, Ralph Becker-Szendy ra...@lr.los-gatos.ca.us wrote:

 The real limitation will probably be amount of memory: To run a 1TB file
 server under OpenBSD you really need to have at least 1GB of memory
 available to the file system (once the kernel has taken its part), so
 you can run fsck and have enough file system buffer space.

You can hugely reduce fsck's memory requirements by adjusting newfs
parameters, especially increasing block size and decreasing inode density
from the defaults. Consider the expected average file size and have a
play with different parameters. Try it on a running system where you
can send SIGINFO to the fsck process and you'll get some feedback on
how far it's got. If you haven't tried adjusting this before, I think
you will be very surprised at the difference it makes.

If you have free RAM when the system is running you might want to
look at increasing the kern.bufcachepercent sysctl (this memory isn't
dedicated to buffer cache; if processes start using more memory they
take it back). But further discussion along these lines should
probably move to an OpenBSD list.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Bios update problem on 5501

2010-01-15 Thread Stuart Henderson
On 2010-01-13, Christopher Camden ccam...@cbnco.com wrote:
 download -
   ^^
Bob, try this. Note the dash.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] GPIO control of SW1(Reset Button) on 5501 with OpenBSD

2009-12-14 Thread Stuart Henderson
On 2009-12-13, Lars Nooden lars.cura...@gmail.com wrote:
 Lars Nooden wrote:
 The bios for the net5501 can set the reset switch so that it is under
 software control and accessible using GPIO.  What device and pin would
 that be under OpenBSD 4.6 ?

 I went through and did a rather systematic attempt at checking all the
 gpio pins that I could find on devices gpio0 and gpio1, trying input for
 both internal pull-up and internal pull-down.

A momentary press of the button will latch the output, so you don't
have to read the pin at exactly the time you press the button.

I'm not sure about pins on the 5501, and there's still no manual(!),
but on the 4801 you need to take GPIO47 low to reset the latch, then
you can read the state on GPIO18. It would at least be worth trying
the same pins as a starting point since other GPIO-related things
are similar between the two devices. (If you need to read the button
in realtime, you hold the latch reset line low).


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] OpenBSD installation problem

2009-12-14 Thread Stuart Henderson
On 2009-12-14, aniss siyouti aniss.siyo...@gmail.com wrote:
 One other question,is it possible to install the file sets of openbsd
 without connecting the soekris to internet.Can i transfer these file from
 my computer to the soekris using tftp.

For the *.tgz file sets you'll need to use ftp or http, tftp isn't
available for that (nor would you really want it, it's horribly slow).
I've installed quite a few machines by PXE without internet connection
by running the DHCP server, tftpd and ftpd on a laptop. No problems
at all.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] vr interface problem

2009-09-21 Thread Stuart Henderson
On 2009-09-20, Dánial Olsen d...@ft.fo wrote:

 ifconfig vrx down; ifconfig vrx up fixes your problem?

 I don't know. I just experienced this one time and didn't try that, but 
 perhaps I'll reproduce and try.

Unplug and re-plug the cable a dozen times or so, you'll probably repeat it.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] vr interface problem

2009-09-18 Thread Stuart Henderson
On 2009-09-18, Dánial Olsen d...@ft.fo wrote:
 Hi,

 I just had a weird problem with two of my 5501 boxes, running OpenBSD 4.3, 
 connected to the same switch.

 The problem was that two of the four connected vr interfaces seemingly 
 stopped working.
 I tried connecting a crossed cable between the boxes and also between the 
 boxes and my laptop, but tcpdump on the 5501 did not see any incoming traffic 
 - only outgoing. After some testing the 5501s were rebooted and then the 
 interfaces worked as normal. This behaviour was perhaps triggered by the 
 switch, to which they are connected, lost power a few times over the course 
 of a couple of hours.

 My issue doesn't seem new as these two threads show:

 http://72.32.12.210/archives/openbsd/2007-10/0886.html
 http://www.nabble.com/Re:-soekris-5501-wierd-vr%284%29-maybe-PHY-problem-%28was-Re:-man-dhcpd.interfaces--%29-td15694468.html

 Does anyone know if there is a solution for this problem? 
 Is this solved in a newer version of OpenBSD or FreeBSD perhaps?

It was fixed in OpenBSD earlier this year, it's in -current snapshots
and the forthcoming 4.6 release, or you can try this diff which may or
may not apply to earlier versions.

Index: if_vr.c
===
RCS file: /cvs/src/sys/dev/pci/if_vr.c,v
retrieving revision 1.81
retrieving revision 1.83
diff -u -p -r1.81 -r1.83
--- if_vr.c 29 Mar 2009 21:53:52 -  1.81
+++ if_vr.c 30 Apr 2009 18:28:29 -  1.83
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vr.c,v 1.81 2009/03/29 21:53:52 sthen Exp $*/
+/* $OpenBSD: if_vr.c,v 1.83 2009/04/30 18:28:29 mpf Exp $  */
 
 /*
  * Copyright (c) 1997, 1998
@@ -366,20 +366,38 @@ allmulti:
 void
 vr_setcfg(struct vr_softc *sc, int media)
 {
-   int restart = 0;
+   int i;
 
-   if (CSR_READ_2(sc, VR_COMMAND)  (VR_CMD_TX_ON|VR_CMD_RX_ON)) {
-   restart = 1;
-   VR_CLRBIT16(sc, VR_COMMAND, (VR_CMD_TX_ON|VR_CMD_RX_ON));
-   }
+   if (sc-sc_mii.mii_media_status  IFM_ACTIVE 
+   IFM_SUBTYPE(sc-sc_mii.mii_media_active) != IFM_NONE) {
+   sc-vr_link = 1;
+
+   if (CSR_READ_2(sc, VR_COMMAND)  (VR_CMD_TX_ON|VR_CMD_RX_ON))
+   VR_CLRBIT16(sc, VR_COMMAND,
+   (VR_CMD_TX_ON|VR_CMD_RX_ON));
 
-   if ((media  IFM_GMASK) == IFM_FDX)
-   VR_SETBIT16(sc, VR_COMMAND, VR_CMD_FULLDUPLEX);
-   else
-   VR_CLRBIT16(sc, VR_COMMAND, VR_CMD_FULLDUPLEX);
+   if ((media  IFM_GMASK) == IFM_FDX)
+   VR_SETBIT16(sc, VR_COMMAND, VR_CMD_FULLDUPLEX);
+   else
+   VR_CLRBIT16(sc, VR_COMMAND, VR_CMD_FULLDUPLEX);
 
-   if (restart)
VR_SETBIT16(sc, VR_COMMAND, VR_CMD_TX_ON|VR_CMD_RX_ON);
+   } else {
+   sc-vr_link = 0;
+   VR_CLRBIT16(sc, VR_COMMAND, (VR_CMD_TX_ON|VR_CMD_RX_ON));
+   for (i = VR_TIMEOUT; i  0; i--) {
+   DELAY(10);
+   if (!(CSR_READ_2(sc, VR_COMMAND) 
+   (VR_CMD_TX_ON|VR_CMD_RX_ON)))
+   break;
+   }
+   if (i == 0) {
+#ifdef VR_DEBUG
+   printf(%s: rx shutdown error!\n, sc-sc_dev.dv_xname);
+#endif
+   sc-vr_flags |= VR_F_RESTART;
+   }
+   }
 }
 
 void
@@ -1132,11 +1150,11 @@ vr_start(struct ifnet *ifp)
struct mbuf *m_head;
struct vr_chain *cur_tx;
 
-   if (ifp-if_flags  IFF_OACTIVE)
-   return;
-
sc = ifp-if_softc;
 
+   if (ifp-if_flags  IFF_OACTIVE || sc-vr_link == 0)
+   return;
+
cur_tx = sc-vr_cdata.vr_tx_prod;
while (cur_tx-vr_mbuf == NULL) {
IFQ_DEQUEUE(ifp-if_snd, m_head);
@@ -1283,6 +1301,7 @@ vr_init(void *xsc)
CSR_WRITE_2(sc, VR_IMR, VR_INTRS);
 
/* Restore state of BMCR */
+   sc-vr_link = 1;
mii_mediachg(mii);
 
ifp-if_flags |= IFF_RUNNING;
Index: if_vrreg.h
===
RCS file: /cvs/src/sys/dev/pci/if_vrreg.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- if_vrreg.h  18 Jul 2008 13:38:40 -  1.21
+++ if_vrreg.h  28 Apr 2009 12:54:31 -  1.22
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vrreg.h,v 1.21 2008/07/18 13:38:40 thib Exp $  */
+/* $OpenBSD: if_vrreg.h,v 1.22 2009/04/28 12:54:31 mpf Exp $   */
 
 /*
  * Copyright (c) 1997, 1998
@@ -350,7 +350,8 @@ struct vr_desc {
 #define VR_RXSTAT_RX_PHYS  0x0800
 #define VR_RXSTAT_RX_BROAD 0x1000
 #define VR_RXSTAT_RX_MULTI 0x2000
-#define VR_RXSTAT_RX_OK0x4000
+#define VR_RXSTAT_RX_VIDHIT0x4000 /* 6105M */
+#define VR_RXSTAT_RX_OK0x8000
 #define VR_RXSTAT_RXLEN0x07FF
 

Re: [Soekris] Question with net5501

2009-09-07 Thread Stuart Henderson
On 2009-09-06, der Mouse mo...@rodents-montreal.org wrote:
 Looking at the diff between the 3.1 driver and the -current driver,
 most of the changes look irrelevant (eg, changing how to get the softc
 from the device), but there are some that aren't.  None look obviously
 related to the Rhine III, but I don't know the chip, so it's possible
 some of the generic-looking changes are necessary for Rhine III
 support.

There are a few changes in OpenBSD's vr(4) driver that it might be
beneficial to bring across. (probably simpler than bringing .Fx's
rewritten driver over).


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Replace an ADSL modem-router

2009-08-20 Thread Stuart Henderson
On 2009-08-19, Lars Nooden l...@umich.edu wrote:
 Chris Cappuccio wrote:
 Lars Nooden [l...@umich.edu] wrote:
 Chris Cappuccio wrote:
 this is essentially the same as an ultra-cheap versatek 170p modem... 
 Not at all the same capabilities.  Compare:

 http://www.traverse.com.au/downloads/adsl/vikingdat_03.pdf
 http://www.versatek.com/products/vxver170p.htm

conexant vs. broadcom. a few more features on the v170p I think.

 Point to a HOWTO for running the 170p with NetBSD, OpenBSD or a Linux.
 
 I'll write one.  Here it is:
 
 1. Plug in the ethernet cable
 2. ifconfig YourEthernet0 192.168.0.2/24
 3. Telnet or HTTP to 192.168.0.1
 4. Configure VPI/VCI and mode (RFC 1483 bridging, PPPoA, PPPoE, etc...)
 5. Party like it's 1999

 Hmm.  You've skipped the part about loading the 170p with OpenWRT,
 Tomato, PFSense or something similar...

the 170p would just be used instead of the viking card, not the whole
card+soekris combination.

it's nice to have a way to avoid the separate box, power supply
and cable, but you clearly pay extra for that.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net5501-70 + tdm410

2009-06-14 Thread Stuart Henderson
On 2009-06-10, Alex Samad a...@samad.com.au wrote:

 Is any one else using a tdm410 in one of these boxes ?  How are you
 getting the power to the card for the FXS ports. I have noticed, just
 behind the molex connector pins P8 and digum talk about a pwr2400b which
 is a PCI face plate that connects to the cards some how !!!, I am
 thinking it is via these 2 pins, but I can't tell which is +ve and which
 is -ve or even if I am right.

Have you tried asking Digium?

 Soekres might be time to expand the size of the box a little bit :)

I've got a whole stack of cards which *just* don't fit the 5501 case.
quad NICs, fibre NICs, SCSI controllers, ... another 5mm or so would make
all the difference.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] NET5501 UDMA and SSD woes

2009-04-19 Thread Stuart Henderson
On 2009-04-18, David Alexander listm...@cox.net wrote:
 On Sat, 18 Apr 2009 22:55:14 + (UTC), Stuart Henderson
s...@spacehopper.org wrote:

On 2009-04-18, David Alexander listm...@cox.net wrote:

 I'd still like to figure out how to tell OpenBSD to try using a higher
 UDMA mode.

search for 80-wire in /sys/dev/pciide.c, you'll find the checks
which limit the device to mode 2.

 Thanks!  Funny, I was looking for 40 when I needed to try 80.
 Found it and now I'm running at UDMA mode 5, although the gain wasn't
 significant.  My simple read test went from 25MB/s to 30MB/s.  Still,
 it's good to know that the OS isn't artificially limiting throughput
 and it's probably down to the 5501 now.

 Anyone else getting better SATA throughput?

Considering the maximum ethernet speed, 25MB/s (200Mb/s of course)
isn't really a bottleneck for much of what you might use a 5501 for.

I haven't tried it on the Soekris, but by way of comparison, I have
a 32GB Vertex in an OpenBSD amd64 box, seq reads are at 100MB/sec and
writes at 50MB/sec with simple dd tests. (The speed of random access
has to be seen to be believed...)


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] NET5501 UDMA and SSD woes

2009-04-18 Thread Stuart Henderson
On 2009-04-18, David Alexander listm...@cox.net wrote:
 On Thu, 16 Apr 2009 14:59:10 -0700, David Alexander listm...@cox.net
 wrote:

According to the Soekris web page the 5501 has an UltraDMA-100
controller.  I'm having trouble getting it to try anything above
UDMA mode 2.

My problem is that I just bought an OCZ Vertex SSD and according to
atactl it only supports ATA-5, 6, and 7...aka UDMA modes 3 and above.
So now I'm stuck with a machine that supports up to mode 2 and a drive
that needs mode 3 or higher.


 Well, I found out that part of my problem was having the SSD and the
 CF on the same channel at the same time.  Once I copied all my data
 from the CF to the SSD and removed the CF the SSD started working fine
 at UDMA mode 2.  This gives me performance equal to my CF card with
 reads in the 25MB/s range.

 I'd still like to figure out how to tell OpenBSD to try using a higher
 UDMA mode.

search for 80-wire in /sys/dev/pciide.c, you'll find the checks
which limit the device to mode 2.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Hardware reset

2009-03-27 Thread Stuart Henderson
On 2009-03-26, Soekris Mailinglist soek...@nixtech.net wrote:
 Is there a way to see if the box has been reset by pressing the hardware
 reset button?

 The box is 4501 and 5501 both running Linux-2.6.28

 Thanks,
 Thomas Albech

there's a BIOS Reset setting which switches between the button
doing a hard reset, and being a soft button readable on a GPIO
pin. is that what you're looking for, or were you after something
to tell you if that's what caused the previous reboot? (which I
don't think is possible).



___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Hardware problems with new 5501

2009-03-24 Thread Stuart Henderson
On 2009-03-24, Vasily Ivanov vas...@anabar.ru wrote:
 On Tue, Mar 24, 2009 at 12:57:26AM +, Stuart Henderson wrote:
  1. I cannot do upgrade of BIOS (1.33-1.33c)
 
 cu on OpenBSD works reliably following these instructions:
 http://wiki.soekris.info/Updating_Bios#cu_and_tip

 it fails also.

 --
 .
 download -
 ~C lsz -X b.bin
 Sending b.bin, 784 blocks: Give your local Xmodem receive command now

 Xmodem sectors/kbytes: 0/0k Retry 0: Timeout on sector ACK
 Xmodem sectors/kbytes: 19/2k Retry 0: NAK on sectors
 Xmodem sectors/kbytes: 80/0k Retry 0: Got 72 for sector ACK

 Retry 0: Timeout on sector ACK
 Retry 0: Timeout on sector ACK
 ...(11 times retry)
 Retry 0: Timeout on sector ACK

 Transer incomplete
 ---

Then I would have to guess at a cable problem, I can confirm this method
has worked many times for me, on all sorts of hardware (real and USB serial
ports, 4501/4521/4526/4801/5501) and cables (homemade DE9-RJ45 adapters,
commercial 3-wire cables, commercial null modem cables)..




  Below I attached four logs:
   a) with the only CF card. There OpenBSD 4.5 on card, this system is
  correctly work on laptop, for example.
   b) with the on HDD, OpenBSD 4.5 .
   c) PXEBoot log with OpenBSD 4.4
   d) two attempts to do BIOS upgrade
 
  The a,b and c have the same finish.
 
 you missed set tty com0 at the boot loader prompt.
 Yes, I had done it in cases a) and b) --- I had got absolutely empty output.

 Thanks, 
 Vasily

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Hardware problems with new 5501

2009-03-23 Thread Stuart Henderson
On 2009-03-24, Vasily Ivanov vas...@anabar.ru wrote:
 Hi, all

 Last week I've got a new 5501-70 box.
 Unfortunally, there are a number of problems with this box.

 1. I cannot do upgrade of BIOS (1.33-1.33c)

cu on OpenBSD works reliably following these instructions:
http://wiki.soekris.info/Updating_Bios#cu_and_tip

 2. Three (CF, HDD, PXEBoot) ways of booting have failed :(. 

 Below I attached four logs:
  a) with the only CF card. There OpenBSD 4.5 on card, this system is
 correctly work on laptop, for example.
  b) with the on HDD, OpenBSD 4.5 .
  c) PXEBoot log with OpenBSD 4.4
  d) two attempts to do BIOS upgrade


 The a,b and c have the same finish.

you missed set tty com0 at the boot loader prompt.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] upcoming changes to gpioctl behavior in openbsd ?

2009-01-24 Thread Stuart Henderson
On 2009-01-23, Stuart Henderson s...@spacehopper.org wrote:
 On 2009-01-23, Lars Noodén l...@umich.edu wrote:
 A while back Marc Balmer wrote:

  Beware that the GPIO subsystem has seen substantial
  changes recently.  In -current, and thus upcoming
  releases, GPIO pins can only be configured at
  securelevel 0.

 Where is a description of the upcoming changes, for those who would like
 to plan?

 Regards
 -Lars

 It's probably simplest to just read the new version of the manual
 pages:

 http://www.openbsd.org/cgi-bin/man.cgi?query=gpioctlmanpath=OpenBSD+Currentarch=i386
 http://www.openbsd.org/cgi-bin/man.cgi?query=gpiomanpath=OpenBSD+Currentarch=i386

Oh, sorry; seems the online copy isn't updated yet; here it is
in plaintext.


GPIOCTL(8)  OpenBSD System Manager's Manual GPIOCTL(8)

NAME
 gpioctl - control GPIO devices

SYNOPSIS
 gpioctl [-q] device attach device offset mask
 gpioctl [-q] device detach device
 gpioctl [-q] device pin [0 | 1 | 2]
 gpioctl [-q] device pin [on | off | toggle]
 gpioctl [-q] device pin set [flags] [name]
 gpioctl [-q] device pin unset

DESCRIPTION
 The gpioctl program allows manipulation of GPIO (General Purpose In-
 put/Output) device pins.  Such devices can be either part of the chipset
 or embedded CPU, or a separate chip.  The usual way of using GPIO is to
 connect some simple devices such as LEDs and 1-wire thermal sensors to
 its pins.

 Each GPIO device has an associated device file in the /dev directory.
 device can be specified with or without the /dev prefix.  For example,
 /dev/gpio0 or gpio0.

 GPIO pins can be either ``read'' or ``written'' with the values of logi-
 cal 0 or 1.  If only a pin number is specified on the command line, the
 pin state will be read from the GPIO controller and displayed.  To write
 to a pin, a value must be specified after the pin number.  Values can be
 either 0 or 1.  A value of 2 has a special meaning: it ``toggles'' the
 pin, i.e. changes its state to the opposite.  Instead of the numerical
 values, the word on, off, or toggle can be used.

 Only pins that have been configured at securelevel 0, typically during
 system startup, are accessible once the securelevel has been raised.
 Pins can be given symbolic names for easier use.  Besides using individu-
 al pins, device drivers that use GPIO pins can be attached to a gpio(4)
 device using the gpioctl command.

 The following configuration flags are supported by the GPIO framework:

   in  input direction
   out output direction
   inout   bi-directional
   od  open-drain output
   pp  push-pull output
   tri tri-state (output disabled)
   pu  internal pull-up enabled
   pd  internal pull-down enabled
   iin invert input
   ioutinvert output

 Note that not all the flags can be supported by the particular GPIO con-
 troller.

 When executed with only the gpio(4) device name as argument, gpioctl
 reads information about the GPIO device and displays it.  At securelevel
 0 the number of physically available pins is displayed, at higher se-
 curelevels the number of configured (set) pins is displayed.

 The options are as follows:

 -q  Operate quietly i.e. nothing is printed to stdout.

FILES
 /dev/gpiou  GPIO device unit u file.

EXAMPLES
 Configure pin 20 to have push-pull output:

   # gpioctl gpio0 20 set out pp

 Write logical 1 to pin 20:

   # gpioctl gpio0 20 1

 Attach a onewire(4) bus on a gpioow(4) device on pin 4:

   # gpioctl gpio0 attach gpioow 4 0x01

 Detach the gpioow0 device:

   # gpioctl gpio0 detach gpioow0

 Configure pin 5 as output and name it error_led:

   # gpioctl gpio0 5 set out error_led

 Toggle the error_led:

   # gpioctl gpio0 error_led 2

SEE ALSO
 gpio(4)

HISTORY
 The gpioctl command first appeared in OpenBSD 3.6.

AUTHORS
 The gpioctl program was written by Alexander Yurchenko
 gra...@openbsd.org.  Device attachment was added by
 Marc Balmer mbal...@openbsd.org.

OpenBSD 4.4December 5, 2008  2


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] BootDrive = 80 FF FF FF

2009-01-04 Thread Stuart Henderson
On 2009-01-03, Lars Noodén l...@umich.edu wrote:

 A Net4801 unit I have is not letting me do PXE boot.
 Which of the settings get changed to allow PXE boot again?

this, I expect:

   PCIROMS = Disabled


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] impossible to link eth1, eth2, eth3 but eth0 is well working

2008-12-05 Thread Stuart Henderson
On 2008-12-05, stef [EMAIL PROTECTED] wrote:
 The OS is  working good  and I made some tests in order to use it as a 
 router.
 But it's impossible to communicate with eth1 eth2 eth3.  eth0 is well 
 working.

As the other posts point out, this is a broken configuration.

What are you actually trying to achieve?


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] 5501 boot from cdrom

2008-12-04 Thread Stuart Henderson
On 2008-12-04, Ebbe Hjorth [EMAIL PROTECTED] wrote:
 Hi,

 I just bought a soekris 5501, with flash, sata disk and a 40 to 44 pin
 converter, to boot from cdrom, but i think im missing a manual to get it
 booting from the cd rom, can you please advice? Right now i dont have the
 flash card in.

It can not boot from CDROM.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] 5501 boot from cdrom

2008-12-04 Thread Stuart Henderson
On 2008-12-04, Andrew Thomas [EMAIL PROTECTED] wrote:
 PXE boot isn't really for the faint hearted.

depends on the OS. for some it's very simple providing you can
read and follow instructions, just a handful of steps. for others
iirc you get to either configure NFS or rebuild your boot loader...

 For a start you will need
 a Linux PC with a DHCP server and a proper PXE configuration/image.

DHCP and TFTP servers are available for almost every OS, then you
just need to place a boot-loader and kernel (and maybe a boot loader
config file) in a directory accessible via TFTP, and configure DHCP.

no need for Linux, or even any Unix-like OS.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Installing Debian Linux from a CD

2008-11-19 Thread Stuart Henderson
 is it possible to install Debian Linux from a Debian CD?

No, the Soekris BIOS doesn't allow you to boot from CD.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Soekris-tech Digest, Vol 57, Issue 3

2008-11-04 Thread Stuart Henderson
On 2008-11-04, Andrew Gordon [EMAIL PROTECTED] wrote:
 I'm aware that this problem doesn't apply in places where direct PPPoE 
 connections are widely available: here in the UK, 99% of ISP connections 
 are PPPoA only.

nope, see BT SIN 386. working absolutely fine here and at some
customers (it's my normal setup). not sure about LLU providers
(well, tiscali definitely don't, I don't know about others),
but they don't make up 99% of UK connections...


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] pxeboot problems with net4801/openbsd

2008-10-27 Thread Stuart Henderson
On 2008-10-27, Andrew Stack [EMAIL PROTECTED] wrote:
 tftp server and bsd.rd/boot.conf is in /tftpboot.

boot.conf
 set tty pc0
 stty pc0 19200

s/pc0/com0/ and move the file to /tftpboot/etc/boot.conf

 boot bsd.rd

it's usually better to use set image bsd.rd here, then you
get a chance to type at the boot loader if you need to.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Linux IDE driver for CF card

2008-10-02 Thread Stuart Henderson
On 2008-10-01, Thorsten M. [EMAIL PROTECTED] wrote:
 I've set up a a Linux system with strpped down kernel on my net4501

You do mean _4501_ not 5501?

 board. Now my problem is, that the CF card is really slow. hdparm shows
 ~2 MB/s transfer speed and UDMA is disabled.

I don't think 4501 has UDMA.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] SanDisk 64 MB Compact Flash Cards

2008-09-05 Thread Stuart Henderson
On 2008-09-05, Ryan Corder [EMAIL PROTECTED] wrote:
 On Sat, Sep 06, 2008 at 12:33:58AM +0700, Soekris Maillist wrote:
| Anyone know where to buy these?
| 
| The smallest ones I can find here in Thailand seems to be 2 GB, which is
| extreme overkill for a 16 MB image.

 If you do find anything that small, please let ALL of us know.

What's the point? They won't be any cheaper.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] mini-pci serial (was: Two PCI peripherals on one unit?)

2008-08-26 Thread Stuart Henderson
On 2008-08-22, Lars Noodén [EMAIL PROTECTED] wrote:
 Since soekris devices have one mini-pci slot, would it be possible then
 to use the regular PCI for extra ethernet while using the mini-PCI for
 2-port RS-232 card?

Yes, of course.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] COM2 Problem with OpenBSD4.3 on NET4501

2008-07-23 Thread Stuart Henderson
On 2008-07-23, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Great suggestions everyone!  We're definitely getting closer.  Indeed I am 
 certain the wiring is correct; that was one of the first things I checked.  
 Instead, this is looking more like an OpenBSD configuration or hardware 
 issue.  For example, if I jumper TX and RX together on the IDC10 header as 
 suggested above and run a simple loopback program (listed below), I receive 0 
 bytes back on the read. 

Please try a known working program until you are sure the hardware
is ok. With txd looped to rxd, when you cu -l /dev/cua01 and type
something, it should be immediately displayed back.

 This program displays both 9600 for the old and new rates.

If I try that here, it leaves the port in a state where if I try and
use cu afterwards, it will receive but not transmit.

 I'm not entirely certain of how OpenBSD differentiates the tty and cua 
 devices 

See tty(4) (man 4 tty).


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] HDD 500 Gb Sata problem on 5501

2008-07-17 Thread Stuart Henderson
On 2008-07-17, Erwin Geuens [EMAIL PROTECTED] wrote:
 for a customer we want to use a 500 Gb sata disk (WD caviar GP500) as  
 mini file server. However during boot (bios 1.33) the disk is  
 recognized as 136 Gb with parameters 1024-255-63.
 Is there a way to fix this?
 Thx
 Erwin

 PS: we will boot on a 4 Gb CF first, the HDD is a data disk.

it probably doesn't matter, the OS should see the whole disk.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] working wireless minipci cards in 802.11a or g mode under OpenBSD 4.3

2008-07-17 Thread Stuart Henderson
On 2008-07-17, Guillaume FORTAINE [EMAIL PROTECTED] wrote:
 http://www.oxfordtec.com/uk/p119/SparkLAN-WMIR-215GN-WLAN-802.11n-draft-MiniPCI-Wifi-Module---Laptop-Internal-Ralink-RT2860-Chipset-Wireless-Adapter/product_info.html

I've got one of those exact cards as an AP, it works nicely. I don't
know if it does 54Mb/s, 11Mb is fine for my use.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net5501 network throughput

2008-07-05 Thread Stuart Henderson
On 2008-07-05, Chris Babcock [EMAIL PROTECTED] wrote:
 A 5501 can handle the full bandwidth of 100M links. However whether a 
 5501 can handle your environment depends on how complex a ruleset you 
 are planning on using for firewalling.

Besides ruleset, it also depends a lot on how many packets per
second, and assuming a stateful firewall, how many of those have
to traverse the whole ruleset. 5501 is pretty tight for a link
you *expect* to run at 100Mb/s.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Traverse Technologies Viking PCI ADSL2+ Card

2008-06-26 Thread Stuart Henderson
On 2008-06-26, David Coppa [EMAIL PROTECTED] wrote:
 I'd like to build a compact ADSL router with some server capabilities
 (http, smtp) using a net5501-70 and the adsl2 pci card in the subject.

 Will this card work/fit well? Anyone using It?

The size should be ok for the standard case, and it says the right
things about voltage. Unfortunately the manual for net5501 isn't
available and the details on the website don't mention how much
power can be drawn. Even if it did, you'd also need to know the
power consumption of other devices (e.g. MiniPCI, hard drive if
you have one).

 PCI Interface:
 32 bit PCI Rev 2.2
 3.3V or 5V Signalling
 Universal Keying for 3.3V or 5V PCI

 Power Supplies: 3.3, 5  12VDC

 Consumption: 8W (ADSL2+ typical)

 Physical Dimensions: 138mm * 55mm * 15mm (L*H*W)

 http://www.traverse.com.au/downloads/adsl/vikingdat_03.pdf

 The onboard Ethernet controller (RTL8139) makes the modem appear to
 the O/S as a standard Network card.
 Thus drivers are not a problem.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Compatibility Issue w/ Soekris 5501 and Cisco 2640 Switch

2008-06-13 Thread Stuart Henderson
On 2008-06-11, Chuck (Doc) Beaudette [EMAIL PROTECTED] wrote:
 When I replaced the 4801 with a new 5501, the throughput between the Cisco
 2640 and the Soekris router dropped to next to nothing. We tried several
 different configurations (Auto negotiate, fixed 100mb Full-Duplex, etc.),
 nothing seemed to make any difference. Finally, we put a Netgear switch
 between the Cisco 2640 and the Soekris 5501 which cleared the problem. The
 2640 is an older swtich, so the next option is try an upgrade to a 2660
 switch then see if we can connect the Soekris directly.

Which OS/version? There is a bug in auto negotiation order in some
PHY drivers based on FreeBSD (now fixed there) that affects cisco
3550 and maybe it also affects others.. (actually the problem only
happens with a combination of a bug in the PHY driver and a cisco
bug).  http://www.freebsd.org/cgi/query-pr.cgi?pr=92599


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Cold boot failures on Net5501?

2008-06-10 Thread Stuart Henderson
On 2008-06-10, Chris Babcock [EMAIL PROTECTED] wrote:
 I have tried many different models and brands of non-industrial flash, 
 and there seems to be significant differences in what ATA capabilities 
 different cards have.  In practice, the vendors don't seem to include 
 the ATA interface differences in their benchmarks, and the ATA 
 capabilities can make a significant difference in performance.  I have a 
 Lexar card here that is supposed to be a 300x card and a SanDisk that is 
 a 200x card, and the SanDisk performs about 20% faster despite the 
 difference in official speed.  (Note: Lexar cards _SUCK_ on Soekris 
 because they don't honor CS in any sane way)

Yes really, use SanDisk. All the 2GB+ and all recent 1GB have
multi-sector I/O transfers, this improves performance a lot.
And they reset correctly, that's a big help if you have to use
them in a system built using the old CF spec, it saves forcing
the OS to disable DMA, and also helps this problem on the
Soekris boards.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] 19 Rackmount Case for the 5501

2008-06-04 Thread Stuart Henderson
On 2008-06-04, Carlos Castro [EMAIL PROTECTED] wrote:
 Does anyone know of a 3rd party vendor who might have a 19 rack mount case
 for the net5501 boards?

http://wiki.soekris.info/Alternative_chassis


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Net5501 and pfsense / no CF boot

2008-05-30 Thread Stuart Henderson
On 2008-05-30, C. Schlecht [EMAIL PROTECTED] wrote:
 --===0199348912==
 Content-Type: multipart/alternative; 
   boundary==_Part_4507_11920883.1212155576987

ugh

 I have a Net5501-70and tried to install pfsence. First, I copied the image
 on a CF card and tried to boot -- no boot device available.

It might be useful to describe how you copied it.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] OpenBSD installation problem

2008-05-22 Thread Stuart Henderson
On 2008-05-22, Georgios Tsarpalis [EMAIL PROTECTED] wrote:
 Hello,

 I just bought a net5501 and I'm trying to install OpenBSD 4.3 on it
 without success. I follow the standard pxeboot procedure as described in
 the documentation, but the serial connection just seems to hang whenever I
 type the set tty com0 command. If I simply try to boot the kernel image
 will load but there is no output after that. Any ideas?

 This happened both with cu and screen using a thinkpad with openbsd and
 ubuntu.

Until a couple of weeks ago the boot loader accessed the serial port
hardware via the BIOS, which isn't working on this board unless you have
the modem control lines wired up in your null-modem cable.

Try a -current snapshot, the boot loader has been rewritten to access
the port directly.

Alternatively if you *really* don't want to run -current, you can
pull just the boot loader from a snapshot, but it's simpler to just
use the whole thing.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] OpenBSD and Net5501-70 'vr' issues?

2008-05-21 Thread Stuart Henderson
On 2008-05-21, K K [EMAIL PROTECTED] wrote:
 On Wed, May 21, 2008 at 10:24 AM, Moe Sizlak [EMAIL PROTECTED] wrote:
 As someone mentioned earlier the problem seems to be entirely vr driver 
 related.

 This makes me concerned.

 We've had a couple of 5501's from KD85 running as simple Internet
 firewalls (OpenBSD 4.2 and 4.3) for a couple of months now with no
 reliability issues, and I just ordered four more systems for
 deployment on new installs where we need only a few megabits (6-16).

 Should we worry?

If it's plugged into a switch which stays up when the 5501 is up, no.
If you plug PCs which reboot often straight into the 5501, yes.

 I'd really prefer to avoid such a workaround, but if that is
 necessary, is there any particular dual-port card known to work well?

Everything I tried which physically fits has worked ok, but the
standard case is *just* too short for the Sun QFE or SysKonnect
1000baseSX in my pile... quad em(4) and dual fxp(4) have been
fine.

 Very disappointing.  Where's the best place to find and follow details
 for this problem?

There's been a bit of mention here and on an openbsd list (I think it
was tech@). I started to look at the freebsd diff (fixed in 1.129 -
1.130 of http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/vr/if_vr.c)
but slightly lost interest as I'm only using them with a switch so
I don't experience too much pain from it...


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] hard reset required on soekris box when connecting via xp (non-html)

2008-05-18 Thread Stuart Henderson
On 2008/05/18 12:56, Peter van Oord van der Vlies wrote:
 I have the same issue on openbsd 4.2(not tried 4.3 yet)

4.3 won't help this problem.

 Sometimes it will not allow any traffic on the interface that is 
 connected by a cross-cable. Only on machines that runs VISTA/XP i had 
 this issue.
 The only solution was reset. the soekris.

ifconfig vr# media auto (replace # with the correct number)
should also unwedge it. I also see this when I repeatedly
plug/unplug a connection to some types of switch.

Affected interfaces can transmit but not receive.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] What is the max power supplied to PCI slot of net4801, and if it is possible to use multiple high power cards through mikrotik PCI extention board

2008-05-01 Thread Stuart Henderson
On 2008-05-01, Mark Brown [EMAIL PROTECTED] wrote:
 On Thu, May 01, 2008 at 12:49:39PM +0900, Izumi Utakoji wrote:

 Will it be possible to use multiple miniPCI high power cards, on
 net4801, through mikrotik 4 miniPCI slot PCI extention board?
 I want to use
 600mW high power card from Engenius EMP-8602+S

The 600mW relates to output power. Check the card specification to find
out about input power requirements, hopefully it will tell you..

 I don't know about the Soekris in particular but PCI specifies a maximum
 of 25W per slot.

net4801 has a manual, you'll find the relevant information there.

N.B. if you search the mailing list archives (marc/gmane) you'll find
various warnings about running multiple radios in close proximity.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] openbsd install problem

2008-04-30 Thread Stuart Henderson
On 2008-04-30, Chantal Rosmuller [EMAIL PROTECTED] wrote:
 I added a file etc/boot.conf to the tftp directory with this content:

 set tty com0
 stty com0 9600
 boot bsd.rd

I'd recommend set image bsd.rd so you can still type commands,
it will then boot bsd.rd after a timeout.

 unfortunately it then starts printing a lot of jibberish, probably something 
 to do with the serial console settings

You just forced the port speed to 9600 in boot.conf, change combios
console and terminal emulator speed to match (recommended), or change
the stty com0 .. line to whatever speed you really use.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] openbsd install problem

2008-04-28 Thread Stuart Henderson
On 2008-04-28, Chantal Rosmuller [EMAIL PROTECTED] wrote:
 booting tftp:/bsd: open tftp:/bsd: Unknown error: code 60
  failed(60). will try /obsd

 any pointers would be welcome :)

Any better if you add next-server tftp-server-ip-address; and
restart dhcpd?


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] openbsd install problem

2008-04-28 Thread Stuart Henderson
On 2008-04-28, Jed Clear [EMAIL PROTECTED] wrote:
 On Mon, 28 Apr 2008, Kjetil wrote:
  I am trying to install openbsd but I keep getting an error message,
  booting tftp:/bsd: open tftp:/bsd: Unknown error: code 60
   failed(60). will try /obsd
 [snip]
 Try add these two options to your dhcpd.conf (i assume your tftp server is
 the same as your dhcp server).

 next-server 10.0.0.100;
 option root-path /bsd;

 Some [not so] obvious things to check:
   Is /bsd and all relevant contents world readable?
   Did you restart inetd after uncommenting tftpd in /etc/inetd.conf?
   Did you set up the tcpd wrapper properly?
   From the linux box can you do manual tftp?
   tftp localhost
 get bsd.rd

If these were wrong, the boot loader wouldn't be running.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net4801 + openbsd + serial device

2008-04-27 Thread Stuart Henderson
On 2008-04-27, jacco [EMAIL PROTECTED] wrote:
 printf \x11\x00\x00\x00\xB6\x00\x00\x00\xC7  /dev/tty
 dd if=/dev/tty of=/root/tmp/output bs=1 count=31 

See man 4 tty


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] SATA cables on a net5501: where to hide them

2008-04-25 Thread Stuart Henderson
On 2008-04-24, Lars Angus Lyons [EMAIL PROTECTED] wrote:
 If you expect to leave it in the wild for years of reliable service ?

...with a 2.5 SATA drive?


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Network/CPU performance on net5501-70

2008-04-25 Thread Stuart Henderson
On 2008-04-25, Wolfram Schlich [EMAIL PROTECTED] wrote:
 - scp directly:  avg 3.3 MB/s
 - scp via OpenVPN:   avg 1.8 MB/s
 - netio directly:100 Mbit saturated
 - netio via OpenVPN: 2.6 MB/s TX, 3 MB/s RX
 - iperf directly:100 Mbit saturated
 - iperf via OpenVPN: 1.75 MB/s

You don't go into detail about ciphers, but have you investigated
this at all? Are you using the hardware acceleration present on the
Geode LX?


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net4826 lockup issue and BIOS release

2008-04-19 Thread Stuart Henderson
On 2008-04-18, Izumi Utakoji [EMAIL PROTECTED] wrote:
 Also, since I am a new comer here, allow me for the basic question, but
 how do you do search through the archive at Soekris site???

gmane or marc

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Ethernet outages/autodetect weirdness on Net4801

2008-04-19 Thread Stuart Henderson
On 2008-04-19, Lars Noodén [EMAIL PROTECTED] wrote:
 I have a Net4801-60 (256MB RAM) with OpenBSD 4.2 that sometimes gets no
 link with either cross-over or straight-through cables.

 Sometimes it's enough to simply switch to a different cable of the same
 type.  Other times, even though the cables are good (have used them with
 these and other devices) there is no link anyway.  Other times, the port
 will work with those cables but only when connected to a different device.

 I haven't changed the system configuration in months and the problem
 seems to have only appeared in the last weeks.

 The link status lights on the Ethernet ports are normally are green
 (100baseT), but individual ports (usually only 1-3 of the 5) will go to
 yellow (10baseT) and stay that way.  Or be off all together.

 What causes the ports to go offline completely?  ifconfig up/down
 doesn't change anything.  Though, sometimes switching from a cross-over
 to straight-through cable (or vice versa) fixes the problem.

 Are there situations in which the status must be forced?

 -Lars

There are autoneg problems with some devices (e.g. cat3550 which
advertises a media type it can't actually handle which causes a
problem when coupled with a bug present in quite a few OS), but 
AIUI in those cases it still does the same (though wrong) thing
each time.

Have you tried a different PSU yet? If you don't have one handy,
try removing devices (e.g. your 2-port card?) to lower the load
and see if that helps. Especially if you have the PSU type that
people have been reporting problems with on this list...


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] PCI ADSL modem.

2008-04-18 Thread Stuart Henderson
On 2008-04-18, Andrew Back [EMAIL PROTECTED] wrote:
 I'm considering replacing a Net4521 OpenBSD firewall + D-Link DSL router
 with a Net5501 running OpenBSD as both router and firewall. Does anyone have
 any experience of using PCI or miniPCI ADSL cards in a Soekris device and
 ideally running OpenBSD? And being in the UK I'd be using PPPoA.

OpenBSD doesn't support any PCI ADSL cards, I think most people
are using a separate ethernet or occasionally USB router or modem.
Despite common knowledge, PPPoE is fine for IPStream connections.
It doesn't work on Tiscali LLU though.


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net5501 vr(4) repeated unplug/replug - port stops working

2008-03-05 Thread Stuart Henderson
On 2008/03/05 12:02, Mike Tancsa wrote:
 On FreeBSD, I created this simple userland script that resets the nic by 
 watching for its up/down events in syslog's kern.* facility. The proper 
 fix on FreeBSD is at

Ah, good idea. The OpenBSD kernel doesn't log interface events, but this
can be done nicely with ifstated (or people using OSPF can find the state
changes in their ospfd logs).

 http://people.freebsd.org/~yongari/vr/

Diffing this against the old driver makes a lot of output with style
changes as well as code changes so it's a lot to sift through,
I've been working through it gradually but it's taking me a while...

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


[Soekris] net5501 vr(4) repeated unplug/replug - port stops working

2008-02-26 Thread Stuart Henderson
I've seen some problems with the onboard NICs on net5501, where
if the device connected is unplugged and replugged, the interface
has link, is able to transmit packets, but is unable to receive
packets (nothing shown in tcpdump on the interface). Bringing
the interface down and back up fixes it.

Has anyone noticed this on OS other than OpenBSD?


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net4801 problem pxeboot'ing OpenBSD 4.2 from FreeBSD 6.3

2008-02-21 Thread Stuart Henderson
On 2008/02/21 14:47, Bernd Walter wrote:
 On Wed, Feb 20, 2008 at 11:30:30PM +, Adam Retter wrote:
  On Wed, Feb 20, 2008 at 11:18 PM, Stuart Henderson [EMAIL PROTECTED] 
  wrote:
   On 2008/02/20 23:08, Adam Retter wrote:
 The console output over COM0 from the net4801 is below, but basically
 I have no idea what Unknown error: code 60 (from pxeboot?) means?
  
60 is ETIMEDOUT, according to OpenBSD's intro(2). iirc the normal OS
error codes are used in the boot loader. are you aware of any network
problems, bad cables or duplex mismatch maybe?
  
  Erm nope im not aware of any problems, the cables are all new and work
  for network traffic otherwise. The net4801 is connected to a Netgear
  8-port 10/100/1000Mbit switch and the FreeBSD machine is also
  connected to the switch. Using the same physical setup with its
  current OpenBSD 3.7 operating system, I am able to SSH into the
  net4801 and browse the web etc (its used as a F/W and Router).
  
  Hmm, anything I can do to find out why its timing out?
 
 You already tftp'ed the loader and just NFS is failing, so you have to
 search for NFS related problems.

OpenBSD pxeboot doesn't do NFS, only tftp. It's easily-configured
and normally very effective.

switching console to com0
 OpenBSD/i386 PXEBOOT 2.02
booting tftp:bsd.rd: |
booting tftp:bsd.rd: 4733076read text: Unknown error: code 60
 failed(60). will try /bsd

...it has loaded most of the file, but fails somewhere near the end.

Adam can you successfully get this file using tftp(1) on another
machine?

Just to double-check, did you note what I said about duplex settings?
(No offense meant if you did). If the switch and the installed OS are
forced to full-duplex, things would work OK for the installed OS,
but you might expect to have some problems if pxeboot auto-detects
the duplex setting but the switch is forced.

For the upgrade you could just skip pxebooting and copy bsd.rd into
/ on the running system, then choose it at the boot loader, but it's
strange that it should be failing like this. It should just work.
I haven't tried with FreeBSD as a tftp server but PXE is my normal
way to install OpenBSD, even on normal PCs, and I've not seen this
happen before (between temporary installations for testing, permanent
installations, and upgrades, I've done this quite often).
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] 2.5 hdd vendors

2008-02-20 Thread Stuart Henderson
On 2008/02/20 20:04, Torben Nielsen wrote:
 Hi
 
 The wiki[1] mentions 2.5 drives from Hitachi and Fujitsu, but does anybody 
 have experience with the Seagate Momentus[2] series ?
 
 According to the seagate website, these disks are also apropriate for server 
 use.
 
 [1] http://wiki.soekris.info/What_2.5%22_hard_drives_are_suitable
 [2] http://www.seagate.com/www/en-us/products/laptops/momentus/

I have a Momentus amongst the drives that failed fairly quickly
in a net4801, but I didn't know how to turn off idle mode on the
drives back then, maybe they'll last longer if that is done.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Anyone know what JP3 does on net5501?

2008-02-13 Thread Stuart Henderson
On 2008/02/13 16:24, Bob Camp wrote:
 
 There is a dark side to this. The better you document the product,  
 the easier it is to duplicate. Simply buying parts and tossing them on  
 a pc board is pretty easy these days. Documenting without giving away  
 to much is a fairly difficult art.

People aren't asking for something in great depth, something like
the manual that the main competitor to Soekris has for their Geode LX
boards, or the existing manuals for net4501/4801, would be plenty of
information and doesn't give too much away.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Anyone know what JP3 does on net5501?

2008-02-13 Thread Stuart Henderson
On 2008/02/13 21:05, Stephen Patrick wrote:
 How about a WikiManual?
 Everyone contribute?

There already is one at http://wiki.soekris.info/, but bear in mind
it is just information from random people on the internet who, even
with the best intentions, might not be totally accurate.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] What ever happened to the 5501 19 inch case from Soekris itself?

2008-01-25 Thread Stuart Henderson
On 2008/01/25 12:22, Mark K. Mellis wrote:
 I may be asleep at the switch here - did the 19 inch case for the 5501  
 that is mentioned on the Soekris web site ever ship? If not, any  
 alternatives to the applianceshop.eu one mentioned on the list the  
 other day?

http://wiki.soekris.info/Alternative_chassis

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Smallest possible MFS /dev on OpenBSD

2008-01-21 Thread Stuart Henderson
On 2008/01/21 12:18, Jean-Yves Boisiaud wrote:
 there is no typo, but I forgot to tell that the system I use was old :
 
 uname -a
 OpenBSD xx 3.8 GENERIC#138 i386
 
 and
 
 mount_mfs -i 256 -s 592 -P /var/run/dev swap /dev

http://marc.info/?l=openbsd-miscm=120086358424135w=2 explains why
this doesn't work the same way in 4.2 and suggests an alternative.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Smallest possible MFS /dev on OpenBSD

2008-01-16 Thread Stuart Henderson
On 2008/01/16 17:43, Lars Noodén wrote:
 Jean-Yves Boisiaud wrote:
  ...
  To reduce the /dev memory fs space ...
  - delete unused devices.

# du -h /dev 
1.0K/dev/fd
34.0K   /dev

 What is the safest or most efficient method to go about doing that?

The safest and most efficient method is to leave it alone.
If you have a real problem with RAM use, there's probably some
easier and safer way to fix it than shaving off kilobytes here.
But if you're not at that point, why worry? :-)

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] mounting /dev in RAM in OpenBSD

2007-12-22 Thread Stuart Henderson
On 2007/12/22 20:29, Lars Noodén wrote:
 It's not the same with /dev, however.  I've tried a few variations, e.g.
   swap /dev mfs -P/dev.base,async,rw,-s=5000,-i=128 0 0

This is fine, just make sure you don't remove /dev from / (it works
fine just overlaying it with the MFS), just make dev.base a copy of it
(or just copy MAKEDEV across and run it by hand).

This, which is practically the same as yours, works fine for me:

swap /dev mfs rw,nosuid,-s=4096,-i=1024,-P=/dev_src 0 0

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Choosing Compact flash (Was: Memory upgrade)

2007-12-18 Thread Stuart Henderson
On 2007/12/18 00:33, Joel Jaeggli wrote:
 sata ssds that are even faster are possible but command a substantial
 price premium...

In the 5501, it looks like the SATA connector is bridged to the same
IDE interface as the CF card.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] New kernel .config on Wiki

2007-11-23 Thread Stuart Henderson
On 2007/11/24 07:07, windowlicker 259 wrote:
 Where is this wiki located. I have been looking for a kernel .config
 for a net4801 for quite a while.

soekris.info

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] bios upgrade

2007-11-18 Thread Stuart Henderson
On 2007/11/18 14:35, Lyle Scott III wrote:
 i inherited a net4511 board and i am trying to update the BIOS from
 1.26a to current.
 
 I am in hyperterm under windows and log in great.  I type download and
 it prompts me to send file using XMODEM.
 
 I send the file using XMODEM in hyper term and i get unrequested
 response as the error.

Check flow control is set to none; also try 'download -'
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] What is the meaning of BIOS parameter ConMute?

2007-10-19 Thread Stuart Henderson
On 2007/10/19 09:51, Bill Maas wrote:
 
 as the other soekris-tech list members stubbornly refuse to go into your
 original question

it's mentioned here:
http://www.soekris.com/Software/changelog.txt

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net5501 DMA (unsupported)

2007-10-12 Thread Stuart Henderson
On 2007/10/12 11:33, Otfried Geffert wrote:
 even after an BIOS update to 1.32i
 my OpenBSD 4.0 tells me that DMA on IDE is still unsupported.

Support for CS5536 was added about a year ago, it's in OpenBSD 4.1.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


  1   2   >