Re: Soekris 4501 and OpenBSd 5.7
> On Sep 16, 2015, at 00:40, Markus Rosjatwrote: > > Hi there, > > just a simple question, is it possible to install a 5.7 on a soekris 4501? I don't know about the 4501, but the 5501 works fine. Any chance you grabbed the 64 bit image by mistake? Devin
Re: Soekris 4501 and OpenBSd 5.7
4801 worked fine for me until it died (hardware failure) On Wed, Sep 16, 2015 at 8:35 AM, Devin Readewrote: >> On Sep 16, 2015, at 00:40, Markus Rosjat wrote: >> >> Hi there, >> >> just a simple question, is it possible to install a 5.7 on a soekris 4501? > > I don't know about the 4501, but the 5501 works fine. Any chance you grabbed > the 64 bit image by mistake? > > Devin
Re: Soekris 4501 and OpenBSd 5.7
rosjat wrote: > stuck on the entry point msg. You need to create a boot.conf file with a couple of commands. Read this: http://www.openbsd.org/faq/faq6.html#PXE The contents of the file will likely need to be as follows: stty com0 115200 set tty com0 The default baud rate is 9600 -- so if you're using a rate other than 9600, specify it with the first command. --avj
Re: Soekris 4501 and OpenBSd 5.7
On 2015-09-16, Devin Readewrote: > I don't know about the 4501, but the 5501 works fine. Also, lunch was okay. Since we are talking about totally different things. -- Christian "naddy" Weisgerber na...@mips.inka.de
Re: Soekris 4501 and OpenBSd 5.7
On 2015-09-16, Adam Jeanguenatwrote: > rosjat wrote: >> stuck on the entry point msg. > > You need to create a boot.conf file with a couple of commands. Read > this: > >http://www.openbsd.org/faq/faq6.html#PXE > > The contents of the file will likely need to be as follows: > >stty com0 115200 >set tty com0 > > The default baud rate is 9600 -- so if you're using a rate other than > 9600, specify it with the first command. I think that's what is meant by "I redirected the console", but it would have been better if the OP had included exact commands and the console output. +1 for the amd64 question as that's exactly where that would fail.
Re: Soekris 4501 and OpenBSd 5.7
yeah basically :-P but the hint with the version of the image seems to be the right thing to check. I had the image laying arround since earlier this yeah when I set up a 6501 so this should be a 64bit image and if I remember right 4501 is only capable of 32bit. So I'll give it a try with a 32bit image:) regards Markus Am 16.09.2015 um 18:30 schrieb Christian Weisgerber: On 2015-09-16, Devin Readewrote: I don't know about the 4501, but the 5501 works fine. Also, lunch was okay. Since we are talking about totally different things. -- Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de G+H Webservice GbR Gorzolla, Herrmann Königsbrücker Str. 70, 01099 Dresden http://www.ghweb.de fon: +49 351 8107220 fax: +49 351 8107227 Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before you print it, think about your responsibility and commitment to the ENVIRONMENT
Re: soekris install error
On 05/15/15 07:33, Edgar Pettijohn III wrote: I am trying to install OpenBSD on a Soekris 4801. I am getting the following error when I try to partition the disk prior to installing the sets. I tried 5.7 and 5.6, so I'm guessing this may be a hardware issues. Hopefully someone out there can provide some insight. Thanks in advance, Edgar /dev/rwd0a: 3051.8MB in 6250080 sectors of 512 bytes 16 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each wd0(pciide0:0:0): timeout type: ata c_bcount: 8192 c_skip: 0 pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21 pciide0 channel 0: reset failed for drive 0 wd0a: device timeout writing fsbn 16 of 16-31 (wd0 bn 80; cn 0 tn 1 sn 17), retrying pciide0:0:0: not ready, st=0x80BSY, err=0x00 pciide0 channel 0: reset failed for drive 0 wd0a: device timeout writing fsbn 16 of 16-31 (wd0 bn 80; cn 0 tn 1 sn 17), retrying I think you will find this applies: http://www.openbsd.org/faq/faq12.html#i386flash Nick.
Re: soekris install error
On May 15, 2015, at 6:51 AM, Nick Holland wrote: On 05/15/15 07:33, Edgar Pettijohn III wrote: I am trying to install OpenBSD on a Soekris 4801. I am getting the following error when I try to partition the disk prior to installing the sets. I tried 5.7 and 5.6, so I'm guessing this may be a hardware issues. Hopefully someone out there can provide some insight. Thanks in advance, Edgar /dev/rwd0a: 3051.8MB in 6250080 sectors of 512 bytes 16 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each wd0(pciide0:0:0): timeout type: ata c_bcount: 8192 c_skip: 0 pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21 pciide0 channel 0: reset failed for drive 0 wd0a: device timeout writing fsbn 16 of 16-31 (wd0 bn 80; cn 0 tn 1 sn 17), retrying pciide0:0:0: not ready, st=0x80BSY, err=0x00 pciide0 channel 0: reset failed for drive 0 wd0a: device timeout writing fsbn 16 of 16-31 (wd0 bn 80; cn 0 tn 1 sn 17), retrying I think you will find this applies: http://www.openbsd.org/faq/faq12.html#i386flash Nick. That did it. I remember reading that before, but its been a couple months since I got the machine and finally have a chance to play with it. Thanks
Re: Soekris net6501-70 as a router+firewall
Gene, I've used the PcEngines Alix2d3 board with Freebsd for a similiarly sized office and had good success with it. We had a 30mbit pipe, 30 users, VoIP/QoS and IPSec to our 3 data centers. Doing IPSec around 15mbit will put some load on the CPU but it was able to handle it pretty well. I dont have exact PPS for you, but it should be able to do 30mbit/sec easily. - Original Message - From: Gene gh5...@gmail.com To: misc@openbsd.org Sent: Friday, February 15, 2013 9:20:21 AM Subject: Soekris net6501-70 as a router+firewall Is anyone here using the Soekris net6501-70 as a router+firewall? If so what kind of performance are you seeing (throughput, PPS, etc)? I'm considering this system for a 30-40 user environment. It will handle web, ssh, voip, and other basic traffic. QoS will be needed. Thanks. -Gene
Re: Soekris net6501-70 as a router+firewall
On Fri, Feb 15, 2013 at 9:52 AM, reza r...@lethalnetworks.com wrote: Gene, I've used the PcEngines Alix2d3 board with Freebsd for a similiarly sized office and had good success with it. We had a 30mbit pipe, 30 users, VoIP/QoS and IPSec to our 3 data centers. Doing IPSec around 15mbit will put some load on the CPU but it was able to handle it pretty well. I dont have exact PPS for you, but it should be able to do 30mbit/sec easily. The environment will have two WAN connections, each is a 50Mbit/10Mbit pipe. I have a couple of the ALIX2d3 boards myself. They're great little devices. If it can handle 30Mbit it would seem the larger Soekris system (Atom 1.6GHz processor, 2 GB RAM, Intel NICs) should be more than capable. Thank you. -Gene - Original Message - From: Gene gh5...@gmail.com To: misc@openbsd.org Sent: Friday, February 15, 2013 9:20:21 AM Subject: Soekris net6501-70 as a router+firewall Is anyone here using the Soekris net6501-70 as a router+firewall? If so what kind of performance are you seeing (throughput, PPS, etc)? I'm considering this system for a 30-40 user environment. It will handle web, ssh, voip, and other basic traffic. QoS will be needed. Thanks. -Gene
Re: Soekris net6501-70 as a router+firewall
Hi I actually use this system for our office of roughly 10 people. DHCP, Squid, SquidGuard, Snort, IPSEC and PF. Works like a champ. Only a single 100Mbit pipe coming in, but we are able to hit 97Mbit on downloads. I haven't tested the throughput yet on the VPN side. Marc On 02/15/2013 02:38 PM, Gene wrote: On Fri, Feb 15, 2013 at 9:52 AM, reza r...@lethalnetworks.com wrote: Gene, I've used the PcEngines Alix2d3 board with Freebsd for a similiarly sized office and had good success with it. We had a 30mbit pipe, 30 users, VoIP/QoS and IPSec to our 3 data centers. Doing IPSec around 15mbit will put some load on the CPU but it was able to handle it pretty well. I dont have exact PPS for you, but it should be able to do 30mbit/sec easily. The environment will have two WAN connections, each is a 50Mbit/10Mbit pipe. I have a couple of the ALIX2d3 boards myself. They're great little devices. If it can handle 30Mbit it would seem the larger Soekris system (Atom 1.6GHz processor, 2 GB RAM, Intel NICs) should be more than capable. Thank you. -Gene - Original Message - From: Gene gh5...@gmail.com To: misc@openbsd.org Sent: Friday, February 15, 2013 9:20:21 AM Subject: Soekris net6501-70 as a router+firewall Is anyone here using the Soekris net6501-70 as a router+firewall? If so what kind of performance are you seeing (throughput, PPS, etc)? I'm considering this system for a 30-40 user environment. It will handle web, ssh, voip, and other basic traffic. QoS will be needed. Thanks. -Gene
Re: Soekris net6501-70 as a router+firewall
Even a 5501 or Alix would probably be enough for that quantity of user. If your in north america, you should look lanner fw-7535 that cost less than a net6501-70. It's a great router and lanner have a really good customer support, one of the best I have seen. Michel
Re: Soekris net6501-70 as a router+firewall
Depending on pps an alix might be pushing it. In any event it wouldn't give a lot of headroom. Soekris 6501, axiomtek na320 etc would be better, though depending on the environment a dell r210 or some supermicro box with core/xeon e3 might also be good choices. On 2013-02-15, reza r...@lethalnetworks.com wrote: Gene, I've used the PcEngines Alix2d3 board with Freebsd for a similiarly sized office and had good success with it. We had a 30mbit pipe, 30 users, VoIP/QoS and IPSec to our 3 data centers. Doing IPSec around 15mbit will put some load on the CPU but it was able to handle it pretty well. I dont have exact PPS for you, but it should be able to do 30mbit/sec easily. - Original Message - From: Gene gh5...@gmail.com To: misc@openbsd.org Sent: Friday, February 15, 2013 9:20:21 AM Subject: Soekris net6501-70 as a router+firewall Is anyone here using the Soekris net6501-70 as a router+firewall? If so what kind of performance are you seeing (throughput, PPS, etc)? I'm considering this system for a 30-40 user environment. It will handle web, ssh, voip, and other basic traffic. QoS will be needed. Thanks. -Gene
Re: [Soekris] Fwd: mSATA failure on 6501 w/ OpenBSD 5.0
Do you have a way to reproduce this? I have a 6501 with 2GB msata and haven't seen the problem here. On Mon, Nov 28, 2011 at 02:45:41PM -0800, Christopher LILJENSTOLPE wrote: Greetings, Any thoughts as to how to get around this - it's only been up for a few days. Rebooting my home router every 24 hours is not spouse endearing behavior :) Chris On 28Nov2011, at 14.30, Chris Cappuccio wrote: here is the key error message. it means your whole ahci disk has disappeared (and anything you can still run is happening from cache.) -- ahci0: stopping the port, softreset slot 31 was still active. ahci0: failed to reset port during timeout handling, disabling it -- likely a reboot will fix it. this is a known problem with ahci driver and intel ahci controllers. the failed to reset port and softreset slot was still active problems become really obvious once you start maxing out disks on an ahci controller with a softraid array. they rarely present problems in normal use! but, the SSD sata drive may evoke different behavior for some reason. i think continuous runs of iogen over a RAID1 array might bring out similar issues all by itself, even with regular hard disks dragonflybsd's port of openbsd's ahci driver has incorporated several of workarounds for problems directly related to this. (reset this when that happens, etc..) that might be a good place to start looking, if you can easily reproduce the problem then you would know quickly when a ported fix from their driver has helped. -- ff/g? Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Re: [Soekris] Fwd: mSATA failure on 6501 w/ OpenBSD 5.0
here is the key error message. it means your whole ahci disk has disappeared (and anything you can still run is happening from cache.) -- ahci0: stopping the port, softreset slot 31 was still active. ahci0: failed to reset port during timeout handling, disabling it -- likely a reboot will fix it. this is a known problem with ahci driver and intel ahci controllers. the failed to reset port and softreset slot was still active problems become really obvious once you start maxing out disks on an ahci controller with a softraid array. they rarely present problems in normal use! but, the SSD sata drive may evoke different behavior for some reason. i think continuous runs of iogen over a RAID1 array might bring out similar issues all by itself, even with regular hard disks dragonflybsd's port of openbsd's ahci driver has incorporated several of workarounds for problems directly related to this. (reset this when that happens, etc..) that might be a good place to start looking, if you can easily reproduce the problem then you would know quickly when a ported fix from their driver has helped.
Re: [Soekris] Fwd: mSATA failure on 6501 w/ OpenBSD 5.0
Christopher LILJENSTOLPE [soek...@cdl.asgaard.org] wrote: Greetings, Any thoughts as to how to get around this - it's only been up for a few days. Rebooting my home router every 24 hours is not spouse endearing behavior :) port over some workarounds from dragonfly, or just figure out what is causing enough disk access to trigger this behavior and use a different machine for it -- There are only three sports: bullfighting, motor racing, and mountaineering; all the rest are merely games. - E. Hemingway
Re: [Soekris] Fwd: mSATA failure on 6501 w/ OpenBSD 5.0
Greetings, Any thoughts as to how to get around this - it's only been up for a few days. Rebooting my home router every 24 hours is not spouse endearing behavior :) Chris On 28Nov2011, at 14.30, Chris Cappuccio wrote: here is the key error message. it means your whole ahci disk has disappeared (and anything you can still run is happening from cache.) -- ahci0: stopping the port, softreset slot 31 was still active. ahci0: failed to reset port during timeout handling, disabling it -- likely a reboot will fix it. this is a known problem with ahci driver and intel ahci controllers. the failed to reset port and softreset slot was still active problems become really obvious once you start maxing out disks on an ahci controller with a softraid array. they rarely present problems in normal use! but, the SSD sata drive may evoke different behavior for some reason. i think continuous runs of iogen over a RAID1 array might bring out similar issues all by itself, even with regular hard disks dragonflybsd's port of openbsd's ahci driver has incorporated several of workarounds for problems directly related to this. (reset this when that happens, etc..) that might be a good place to start looking, if you can easily reproduce the problem then you would know quickly when a ported fix from their driver has helped. -- ff/g? Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Re: Soekris lan1641 and Jetway J7F4K-1G5D
Ok, let me understand You have four ports on your soekris lan 1641, each port has an ip address in the 172.16.218.0/24 lan ? is that right for example: sis0 172.16.218.100 sis1 172.16.218.101 sis2 172.16.218.102 and so on for sis3 is that right ? Each port with a path cord ? In my experience i never put all the ports or interfaces on the same network segment ... that always gives problems ... if you need all the ports on the same lan use trunk(8) Is what i can understand ... On Tue, Sep 6, 2011 at 9:27 AM, James Abercromby jaberc...@gmail.comwrote: Has anyone else used this board with this mobo and experienced the same issues as described below? http://www.itxdepot.com/xcart/product.php?productid=1910cat=44019page=1 http://soekris.com/products/lan1641.html I have tried both 4.9 and recent 5.0 snapshots but nothing earlier yet. OpenBSD sees the card and it's interfaces correctly as sis0-3, they can successfully pull a dhcp lease or assign a static address. dhcp installs the correct default route or you can assign manually. When you go to ping. you get. send to: ping: Host is down I have made sure that pf is disabled and ip forwarding is turned off to see if these were causing any issues but it has no issues with it. Tried this card with the same motherboard using Mint Linux and it was fine. Any help/insight would be appreciated. -- Cordialmente, 00110111 00111011
Re: Soekris lan1641 and Jetway J7F4K-1G5D
On Tue, 6 Sep 2011 10:27:11 -0400, James Abercromby wrote: Has anyone else used this board with this mobo and experienced the same issues as described below? http://www.itxdepot.com/xcart/product.php?productid=1910cat=44019page=1 http://soekris.com/products/lan1641.html I have tried both 4.9 and recent 5.0 snapshots but nothing earlier yet. OpenBSD sees the card and it's interfaces correctly as sis0-3, they can successfully pull a dhcp lease or assign a static address. dhcp installs the correct default route or you can assign manually. When you go to ping. you get. send to: ping: Host is down I have made sure that pf is disabled and ip forwarding is turned off to see if these were causing any issues but it has no issues with it. Tried this card with the same motherboard using Mint Linux and it was fine. Any help/insight would be appreciated. I have one in a BGP router, (not with your mobo - we use a Soekris Net5501) and it runs fine in a very busy hosting site. I forget what version of OpenBSD is on it but it is on the list for an upgrade in the very near future. All IPs are static. Actually there are two identical units, one being a warm spare. Both have worked since their pre-install run up. Sorry I can't think what would cause your problem. *** NOTE *** Please DO NOT CC me. I am subscribed to the list. Mail to the sender address that does not originate at the list server is tarpitted. The reply-to: address is provided for those who feel compelled to reply off list. Thankyou. Rod/ --- This life is not the real thing. It is not even in Beta. If it was, then OpenBSD would already have a man page for it.
Re: soekris + openbsd server buy question
2010/12/3 shweg...@gmail.com: Hello, I'm considering buying a Soekris net5501-70 and install OpenBSD on it to make myself a small server and use it as a proxy (ssh tunnel), it might Forget Soekris. Get a Lanner FW7530 or similar. Best Martin
Re: soekris + openbsd server buy question
I've run both, and agree with this. The Soekris isn't built with very good parts (== unstable over time), the Lanner box is a solid performer. I'm going to try out the 7535 soon. Pierre On 12/4/2010 5:21 PM, Martin Schrvder wrote: 2010/12/3shweg...@gmail.com: Hello, I'm considering buying a Soekris net5501-70 and install OpenBSD on it to make myself a small server and use it as a proxy (ssh tunnel), it might Forget Soekris. Get a Lanner FW7530 or similar. Best Martin
Re: soekris + openbsd server buy question
2010/12/5 Pierre Lamy pie...@userid.org: I've run both, and agree with this. The Soekris isn't built with very good parts (== unstable over time), the Lanner box is a solid performer. I'm going to try out the 7535 soon. Check out the LEC-2026: http://www.s-connect.ltd.uk/Lanner-Electronics-Inc-/Lanner-LEC-2026/p2831.html It's the industrial variant of the 7530. Best Martin
Re: soekris + openbsd server buy question
On Sat, 4 Dec 2010, Martin SchrC6der wrote: 2010/12/3 shweg...@gmail.com: Hello, I'm considering buying a Soekris net5501-70 and install OpenBSD on it to make myself a small server and use it as a proxy (ssh tunnel), it might Forget Soekris. Get a Lanner FW7530 or similar. Best Martin Thank you, I'll check it out, the funny is, I cannot a price range on the web.
Re: soekris + openbsd server buy question
2010/12/5 shweg...@gmail.com: Thank you, I'll check it out, the funny is, I cannot a price range on the web. Ask a distributor. The FW7530 was about 400 in Germany when I asked. Best Martin
Re: soekris + openbsd server buy question
On Fri, 3 Dec 2010, Matt Bettinger wrote: On Fri, Dec 3, 2010 at 5:28 AM, shweg...@gmail.com wrote: Hello, I'm considering buying a Soekris net5501-70 and install OpenBSD on it to make myself a small server and use it as a proxy (ssh tunnel), it might serve as backup file sever as well. I guess at the most there will be two-three computers connnected at the same time, and there might be some streaming video going through, like the videos you find on online newspapers. I have googled around, and read that this kind of hardware is fine as a router but not so much as a server. Is it true? Thank you for any suggestions. I was also considering using a netbook for the task. What about it? Thanks in advance. Hi, I have an net5501-70 myself and have been using it for last few years as my gateway. It can handle a couple of ipsec connections and handle ~5-7 devices connected behind it. It can get bogged down on the network interrupts on the card. Say, for example when multiple torrents are running off my DMZ.I really do not think it would act as a good file server. I would NOT use a laptop as a file server either. My file server I use is OpenBSD on an dell crap box with mirror raid. By the way, I run current on everything. re, mb So, if I use it only for ssh tunneling both soekris and netbook would be fine? Of course, it has to be on 24*7.
Re: soekris + openbsd server buy question
On Fri, Dec 3, 2010 at 5:28 AM, shweg...@gmail.com wrote: Hello, I'm considering buying a Soekris net5501-70 and install OpenBSD on it to make myself a small server and use it as a proxy (ssh tunnel), it might serve as backup file sever as well. I guess at the most there will be two-three computers connnected at the same time, and there might be some streaming video going through, like the videos you find on online newspapers. I have googled around, and read that this kind of hardware is fine as a router but not so much as a server. Is it true? Thank you for any suggestions. I was also considering using a netbook for the task. What about it? Thanks in advance. I own a 45xx series Soekris system which handles DMZ traffic (2 low load production web servers + RCS repositories, and 3 build systems for MariaDB), internal traffic (my home network for streaming movies and internet access) and ssh access to my DMZ just fine. The specifications for the Soekris system you mentioned don't lead me to be believe they'd be great for file server duty. When I think of file servers I think of fast disk (5501 can use SATA so that's a plus) coupled with a battery backed RAID controller with gobs of cache and redundancy somewhere preserving my data in case of disk failure. If your disk goes on the 5501 I imagine you're toast unless you have a continual backup process that doesn't chew your available bandwidth to zero. So, if I use it only for ssh tunneling both soekris and netbook would be fine? Of course, it has to be on 24*7. When I think of these machines and similar ones I think configuration file backup and restore. What I mean by that is you should be OK with waking up one day and finding your machine dead but able to get backup and running in a less than 20 minutes using a new device and your configuration file backups. I am NOT implying Soekris boards are unreliable, I love mine and would buy more if I needed to, but I am saying that planning for failure should be one of the first things considered when you're constructing a critical piece of your home/business network.
Re: soekris + openbsd server buy question
Le Fri, 3 Dec 2010 19:28:19 +0800 (CST), shweg...@gmail.com a icrit : Hello, I'm considering buying a Soekris net5501-70 and install OpenBSD on it to make myself a small server and use it as a proxy (ssh tunnel), it might serve as backup file sever as well. I guess at the most there will be two-three computers connnected at the same time, and there might be some streaming video going through, like the videos you find on online newspapers. I have googled around, and read that this kind of hardware is fine as a router but not so much as a server. Is it true? Thank you for any suggestions. It depends on the connection, do not expect a 100M/bits link. I use a net5501 for my all-in-one box (file server (samba), printers share, router, ...). The file server is not very speed but is enougth for doing backups. (From time to time, backup the server to an external usb disk). I was also considering using a netbook for the task. What about it? I don't think a netbook will be reliable running 24/24. This was my only concern on the net5501, the reliablity of the internal 2.5 disk drive, looks good after 3 years. Check the soekris-tech mailing list, questions about performances are often asked.
Re: soekris + openbsd server buy question
Le Fri, 3 Dec 2010 08:44:43 -0500, Adam M. Dutko dutko.a...@gmail.com a icrit : The specifications for the Soekris system you mentioned don't lead me to be believe they'd be great for file server duty. When I think of file servers I think of fast disk (5501 can use SATA so that's a plus) On the net5501 this is not a real SATA, the box uses a PATA-SATA adapter behind the cs5536 chipset.
Re: soekris + openbsd server buy question
On Fri, 3 Dec 2010, Patrick Lamaiziere wrote: Le Fri, 3 Dec 2010 19:28:19 +0800 (CST), shweg...@gmail.com a C)crit : Hello, I'm considering buying a Soekris net5501-70 and install OpenBSD on it to make myself a small server and use it as a proxy (ssh tunnel), it might serve as backup file sever as well. I guess at the most there will be two-three computers connnected at the same time, and there might be some streaming video going through, like the videos you find on online newspapers. I have googled around, and read that this kind of hardware is fine as a router but not so much as a server. Is it true? Thank you for any suggestions. It depends on the connection, do not expect a 100M/bits link. I use a net5501 for my all-in-one box (file server (samba), printers share, router, ...). The file server is not very speed but is enougth for doing backups. (From time to time, backup the server to an external usb disk). I was also considering using a netbook for the task. What about it? I don't think a netbook will be reliable running 24/24. This was my only concern on the net5501, the reliablity of the internal 2.5 disk drive, looks good after 3 years. Check the soekris-tech mailing list, questions about performances are often asked. Thank you all, I don't need cutting-edge speed, and from what you say, Soekris should just be fine. For file server I have not been clear, in fact I meant a backup server, so it should probably handle all of it quite fine. I'm also checking out a few fanless Atom mini-pcs, but at about the same price soekris is probably more fit for the job.
Re: soekris + openbsd server buy question
On Fri, Dec 3, 2010 at 8:13 AM, gimes...@gmail.com wrote: On Fri, 3 Dec 2010, Patrick Lamaiziere wrote: Le Fri, 3 Dec 2010 19:28:19 +0800 (CST), shweg...@gmail.com a C)crit : Hello, I'm considering buying a Soekris net5501-70 and install OpenBSD on it to make myself a small server and use it as a proxy (ssh tunnel), it might serve as backup file sever as well. I guess at the most there will be two-three computers connnected at the same time, and there might be some streaming video going through, like the videos you find on online newspapers. I have googled around, and read that this kind of hardware is fine as a router but not so much as a server. Is it true? Thank you for any suggestions. It depends on the connection, do not expect a 100M/bits link. I use a net5501 for my all-in-one box (file server (samba), printers share, router, ...). The file server is not very speed but is enougth for doing backups. (From time to time, backup the server to an external usb disk). I was also considering using a netbook for the task. What about it? I don't think a netbook will be reliable running 24/24. This was my only concern on the net5501, the reliablity of the internal 2.5 disk drive, looks good after 3 years. Check the soekris-tech mailing list, questions about performances are often asked. Thank you all, I don't need cutting-edge speed, and from what you say, Soekris should just be fine. For file server I have not been clear, in fact I meant a backup server, so it should probably handle all of it quite fine. I'm also checking out a few fanless Atom mini-pcs, but at about the same price soekris is probably more fit for the job. I've been using one of these for the last couple of months and have been happy with it's performance. The IPMI capabilities are very nice. http://www.supermicro.com/products/system/1U/#Atom http://www.supermicro.com/products/system/1U/#Atom http://www.supermicro.com/products/system/1U/5015/SYS-5015A-PHF.cfm The only thing I don't care for on it is the trusted platform module chip. The boards have a jumper to disable the chip, but the pins on the motherboard have been removed, so you can not disable it without some soldering.
Re: soekris + openbsd server buy question
On Fri, Dec 3, 2010 at 6:28 AM, shweg...@gmail.com wrote: Hello, I'm considering buying a Soekris net5501-70 and install OpenBSD on it to make myself a small server and use it as a proxy (ssh tunnel), it might serve as backup file sever as well. I guess at the most there will be two-three computers connnected at the same time, and there might be some streaming video going through, like the videos you find on online newspapers. I have googled around, and read that this kind of hardware is fine as a router but not so much as a server. Is it true? Thank you for any suggestions. I was also considering using a netbook for the task. What about it? the only reason i don't/wouldn't use my soekris as a server (actually, i do use it as a dns and dhcp server) is limited storage. a single 2.5in disk is not my ideal backup server configuration.
Re: soekris + openbsd server buy question
On Fri, Dec 3, 2010 at 9:37 AM, Axton axton.gr...@gmail.com wrote: http://www.supermicro.com/products/system/1U/5015/SYS-5015A-PHF.cfm I've built up several of the EHF variety for both firewall and server purposes. The EHF model supersedes the PHF with a smaller board that provides room to make use of the included riser card. It is not fanless but the fan can be virtually disabled via the BIOS. The embedded IPMI support is really superb, providing serial over LAN, virtual CD floppy, etc. Intel NIC's with PXE support. Yada, yada, yada...highly recommended.
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
On 2010-04-07, russell russ...@dotplan.dyndns.org wrote: Speaking of which, I would love to test patches for the ath 5424, be awesome if I could use the internal radio.. sure, go ahead. see the tech@ list archives for mail from Luis Henriques.
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
I am curious, though, what brands of wifi cards OpenBSD folks use for APs. From when I was investigating this a year or so ago the ral cards (per the man pages) were about the only ones without some sort of caveat in AP mode. yep, ral(4) works quite well for me ifconfig ral0 ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:0e:3b:08:45:41 groups: wlan media: IEEE802.11 autoselect mode 11g hostap status: active ieee80211: nwid bervix_castor chan 8 bssid 00:0e:3b:08:45:41 100dBm dmesg snip cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20 pcmcia0 at cardslot0 biomask f355 netmask f775 ttymask f7ff mtrr: K6-family MTRR support (2 registers) softraid0 at root root on wd0a swap on wd0b dump on wd0b ral0 at cardbus0 dev 0 function 0 Ralink RT2560 rev 0x01: irq 12, address 00:0e:3b:08:45:41 ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 I have two different pcmcia ral(4) cards that work great in hostap mode and a rum(4) usb radio that tries(no errors) but people have trouble connecting. I bought a couple mini pci ath cards to go with a pcengine board that was going to replace my AP(currently a old ibm aptiva with a pcmcia card) but they turned out to be ath 2413 and they don't quite work right. I am sure it will only take a minor tweak to get them going but I have never got around to it. My other ath card, a 5424 in a eeepc 701, does not work ether, I am thinking that would take a little more work to get going however. Speaking of which, I would love to test patches for the ath 5424, be awesome if I could use the internal radio..
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
On 2010-04-07, corey clingo clinge...@gmail.com wrote: On Fri, Apr 2, 2010 at 6:07 PM, Stuart Henderson s...@spacehopper.org wrote: In gmane.os.openbsd.misc, you wrote: Anyway, I'm looking for suggestions on how to proceed in troubleshooting this. I would try another OS with as different a driver as possible (e.g. probably Linux). True, but if I put that much time into it I'd probably load that alternate OS onto an external access point and be done with it. It depends whether you're trying to track down the problem (i.e. whether it's a driver or hardware problem) or just want a working AP. I am curious, though, what brands of wifi cards OpenBSD folks use for APs. From when I was investigating this a year or so ago the ral cards (per the man pages) were about the only ones without some sort of caveat in AP mode. The newest ones that I've had personal experience of being problem- free in AP mode are the old PRISM cards (when running suitable firmware on them) and one specific model of ath(4) (the one IBM used to use in some Thinkpads)... I've had reasonable success with RT2860 ral(4) and acx(4) but there have been some problems. RF performance of the 2.4GHz RT2860 has been really good for me, but there are still problems, I have to ifconfig down+up from cron to avoid the worst of the hangs on some AP dealing with a wider range of clients (probably the same as you see e.g. client associates but doesn't get working network access).. acx(4) are near impossible to obtain without ripping them from a commercial AP (and there they aren't widely used any more) and RF performance isn't so good but they were working a bit more reliably for me. So with heavy heart I had to resort to commercial boxes in some places...
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
On Wed, Apr 7, 2010 at 7:04 AM, Stuart Henderson s...@spacehopper.org wrote: The newest ones that I've had personal experience of being problem- free in AP mode are the old PRISM cards (when running suitable firmware on them) and one specific model of ath(4) (the one IBM used to use in some Thinkpads)... The only AP that every worked reliably for me was the venerable 11b wi(4). I've had reasonable success with RT2860 ral(4) and acx(4) but there have been some problems. RF performance of the 2.4GHz RT2860 has been really good for me, but there are still problems, I have to ifconfig down+up from cron to avoid the worst of the hangs on some AP dealing with a wider range of clients (probably the same as you see e.g. client associates but doesn't get working network access).. acx(4) are near impossible to obtain without ripping them from a commercial AP (and there they aren't widely used any more) and RF performance isn't so good but they were working a bit more reliably for me. So with heavy heart I had to resort to commercial boxes in some places... I concur with this completely. I have used over a half dozen different pieces of hardware in an attempt to find a stable AP solution on OpenBSD--and have worked with a couple developers to track down and fix various bugs--but I was never able to achieve this. If you want a stable AP, that'll work with varied clients, you will likely not find it in OpenBSD at this time.
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
On Wed, 07 Apr 2010 07:18 -0600, Daniel Melameth dan...@melameth.com wrote: On Wed, Apr 7, 2010 at 7:04 AM, Stuart Henderson s...@spacehopper.org wrote: The newest ones that I've had personal experience of being problem- free in AP mode are the old PRISM cards (when running suitable firmware on them) and one specific model of ath(4) (the one IBM used to use in some Thinkpads)... The only AP that every worked reliably for me was the venerable 11b wi(4). I've had reasonable success with RT2860 ral(4) and acx(4) but there have been some problems. RF performance of the 2.4GHz RT2860 has been really good for me, but there are still problems, I have to ifconfig down+up from cron to avoid the worst of the hangs on some AP dealing with a wider range of clients (probably the same as you see e.g. client associates but doesn't get working network access).. acx(4) are near impossible to obtain without ripping them from a commercial AP (and there they aren't widely used any more) and RF performance isn't so good but they were working a bit more reliably for me. So with heavy heart I had to resort to commercial boxes in some places... I concur with this completely. I have used over a half dozen different pieces of hardware in an attempt to find a stable AP solution on OpenBSD--and have worked with a couple developers to track down and fix various bugs--but I was never able to achieve this. If you want a stable AP, that'll work with varied clients, you will likely not find it in OpenBSD at this time. Me too. Went to the Penguin! Felt bad about it, but now have a stable AP.
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
On Fri, Apr 2, 2010 at 6:07 PM, Stuart Henderson s...@spacehopper.org wrote: In gmane.os.openbsd.misc, you wrote: Anyway, I'm looking for suggestions on how to proceed in troubleshooting this. I would try another OS with as different a driver as possible (e.g. probably Linux). True, but if I put that much time into it I'd probably load that alternate OS onto an external access point and be done with it. I am curious, though, what brands of wifi cards OpenBSD folks use for APs. From when I was investigating this a year or so ago the ral cards (per the man pages) were about the only ones without some sort of caveat in AP mode. Corey
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
Some more info: 1. I checked the PSU with it plugged into a 5-ohm dummy load, and into the Soekris. With the dummy load, the voltage fell to 11.5 volts -- pretty crappy regulation, but still well within the Soekris' specs. The dummy load is drawing over 2A at that voltage. In the Soekris, the PSU puts out right at 12V. I even put a scope on it to check for ripple, but it was minimal. 2. The SparkLAN ral card gets a little warm while running, but not bad. I switched it to the miniPCI slot with no discernable (to the back of my hand) difference in temperature, though what effect it had on the Soekris I don't know. Didn't seem to affect anything, though, at least for the two days I ran it that way. I moved it back to the PCI carrier card, which is completely passive as I expected. 3. I started having difficulty getting my Windows 7 laptop to connect at all. It would associate, but not get an IP, and dhcpd on the Soekris saw/logged nothing. I thought back to the anomaly I saw in the ifconfig output, where it said the card was in 11a mode but operating on channel 11, in the 2.4 GHz band (a g channel). After reading the ral man page I tried forcing it to 11g mode with a mode 11g in the hostname.ral0; after I did that, the laptop connected fine. Why it worked before in that disjoint mode I don't know. Maybe that was the problem all along; I'll follow up in a few days to help future Googlers. [Side note: I tried using 11a mode, but the transmit power appears to be very weak with this card on a couple of different 11a channels I tried, at least relative to an access point I used to have. It's a disappointment, since being able to use the uncluttered 5 GHz band is one reason I bought this dual-band card.] I'll wrap this up with a final shout out to the OpenBSD devs. I had to fix a relative's Dell Mini 9 netbook running Ubuntu over the last few days, and had to get dirty at the command line because all of Ubuntu's user-friendliness couldn't make up for Dell's poor choice of vendors for some of its hardware. All the myriad configuration files, ifconfig/iwconfig/wpa_supplicant BS, and flakiness of the Mini's Broadcom wifi card and its proprietary driver made OpenBSD's simple, ifconfig-does-everything approach shine all the more brightly.
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
On Fri, Apr 2, 2010 at 12:06 PM, FRLinux frli...@gmail.com wrote: On Fri, Apr 2, 2010 at 5:03 AM, Corey clinge...@gmail.com wrote: I saw them, yes. Soekris Engineering says the net5501 itself draws 20W max. My power supply is rated for 40W. I doubt that little miniPCI card draws 20 watts. Yes, but how many amps? Steph The PSU is 12V, so from basic DC circuit theory, 40W / 12V = 3.333A. The power supply tag backs up Ohm's law and says 3.34A. The Soekris spec lists watts, too, but if you don't have one of these units you may not of course know the PSU voltage. It is some no-name Chinese PSU, but the ratings at least are plenty beefy for my setup I would think (there's nothing else in the Soekris). Like I said, I'll do some basic electrical checks once I get it apart again. Corey
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
On Fri, Apr 2, 2010 at 5:03 AM, Corey clinge...@gmail.com wrote: I saw them, yes. Soekris Engineering says the net5501 itself draws 20W max. My power supply is rated for 40W. I doubt that little miniPCI card draws 20 watts. Yes, but how many amps? Steph
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
On Fri, Apr 2, 2010 at 1:06 PM, FRLinux frli...@gmail.com wrote: On Fri, Apr 2, 2010 at 5:03 AM, Corey clinge...@gmail.com wrote: I saw them, yes. Soekris Engineering says the net5501 itself draws 20W max. My power supply is rated for 40W. I doubt that little miniPCI card draws 20 watts. Yes, but how many amps? Steph I had power issues with my net5501-70. I threw away the crappy psu that came with it and replaced with an netgear I had laying around 12V 1.2 amp. The 5501 has hifn card and dual port gig pci card. I would direct this to soekris ML.
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
On Wed, Mar 31, 2010 at 4:34 AM, corey clingo clinge...@gmail.com wrote: Reposting this, as I posted Friday evening when fewer people were probably reading and haven't heard anything. If that's not the reason, then sorry for the noise. Hello, have you looked at the ML posts? Which power supply are you running? Chances are it is not beefy enough for it. Cheers, Steph
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
On 04/01/2010 04:43 PM, FRLinux wrote: On Wed, Mar 31, 2010 at 4:34 AM, corey clingoclinge...@gmail.com wrote: Reposting this, as I posted Friday evening when fewer people were probably reading and haven't heard anything. If that's not the reason, then sorry for the noise. Hello, have you looked at the ML posts? Which power supply are you running? Chances are it is not beefy enough for it. Cheers, Steph I saw them, yes. Soekris Engineering says the net5501 itself draws 20W max. My power supply is rated for 40W. I doubt that little miniPCI card draws 20 watts. This weekend if I get time I'll move the card to the miniPCI slot in the Soekris, as a shot in the dark. Right now it's in one of those PCI carrier cards so I could drill holes in the metal stab for the antenna cables. While it's apart I may poke around with the Fluke to rule out PS issues, but I doubt that's it. I had another gentleman with the exact same setup email me privately that he was having the exact same problem. He has turned on the watchdog to get around it -- which I have done as well, since the kernel is not invoking ddb when this happens. Regards, Corey
Re: Soekris net5501 locks up with Ralink 2860 miniPCI
Reposting this, as I posted Friday evening when fewer people were probably reading and haven't heard anything. If that's not the reason, then sorry for the noise. -- Forwarded message -- From: Corey clinge...@gmail.com Date: Fri, Mar 26, 2010 at 8:23 PM Subject: Soekris net5501 locks up with Ralink 2860 miniPCI To: misc@openbsd.org I'm having trouble with my Soekris net5501 home router (and now wifi access point) locking up. Prior to installing the wifi I had it running various snapshots for about 6 months, no problem. (My wifi at that time was a separate Linksys WRT54GS running Tomato.) I had wanted to toy with integrating the wifi into the Soekris, so I bought a Sparklan WMIR-200N a/g/n card based on the Ralink 2860+2850 chips. I sat on it for awhile, but recently I loaned my Linksys to some friends in need and decided to grab a January snapshot and give it a go. It worked fine for a week or so, but then I began experiencing hard lockups - no serial console, no ddb, no wired or wifi network access, nothing. It seems to only happen when the wifi is being used, though not necessarily heavily, and at random times -- a couple days to a week between incidents. A power-off of the Soekris is required to reset it, and after that everything is fine, for awhile. I loaded a March 17th snap, hoping for the best, and removed my custom read-only/writes-to-ramdisk filesystem setup in favor of a vanilla install to CF. No luck; it has locked up twice since then. Anyway, I'm looking for suggestions on how to proceed in troubleshooting this. I realize it could be bad hardware -- wifi card I guess, since the Soekris worked fine before that. The card is less than a year old, and unfortunately I don't have another computer with miniPCI to try it in. Thanks in advance for any and all input. If you need any more info let me know. Corey p.s. one weird thing is the way ifconfig says it's in 11a mode when I have chosen channel 11 (802.11g), and the clients see it as g. The 802.11a never worked very well with this card. # cat /etc/hostname.ral0 inet 172.31.2.1 255.255.255.0 NONE -inet6 media autoselect mediaopt hostap \ nwid soekris chan 11 wpa wpaciphers ccmp wpagroupcipher ccmp \ wpaprotos wpa2 wpapsk \ 0x7a52611d1f4df429133fc39094953233b56d968222366b9774b3 # ifconfig ral0 ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:0e:8e:20:82:9f priority: 4 groups: wlan media: IEEE802.11 autoselect hostap (autoselect mode 11a hostap) status: active ieee80211: nwid soekris chan 11 bssid 00:0e:8e:20:82:9f wpapsk 0x7a52611d1f4df429133fc39094953233b56d968222366b9774b3 wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp inet 172.31.2.1 netmask 0xff00 broadcast 172.31.2.255 # dmesg OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by AMD PCS (AuthenticAMD 586-class) 500 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX real mem = 536440832 (511MB) avail mem = 511062016 (487MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 20/80/26, BIOS32 rev. 0 @ 0xfac40 pcibios0 at bios0: rev 2.0 @ 0xf/0x1 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc8000/0xa800 cpu0 at mainbus0: (uniprocessor) amdmsr0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) io address conflict 0x6100/0x100 io address conflict 0x6200/0x200 pchb0 at pci0 dev 1 function 0 AMD Geode LX rev 0x31 glxsb0 at pci0 dev 1 function 2 AMD Geode LX Crypto rev 0x00: RNG AES vr0 at pci0 dev 6 function 0 VIA VT6105M RhineIII rev 0x96: irq 11, address 00:00:24:c8:b2:74 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr1 at pci0 dev 7 function 0 VIA VT6105M RhineIII rev 0x96: irq 5, address 00:00:24:c8:b2:75 ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr2 at pci0 dev 8 function 0 VIA VT6105M RhineIII rev 0x96: irq 9, address 00:00:24:c8:b2:76 ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr3 at pci0 dev 9 function 0 VIA VT6105M RhineIII rev 0x96: irq 12, address 00:00:24:c8:b2:77 ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 ral0 at pci0 dev 14 function 0 Ralink RT2860 rev 0x00: irq 10, address 00:0e:8e:20:82:9f ral0: MAC/BBP RT2860 (rev 0x0102), RF RT2850 (MIMO 2T3R) glxpcib0 at pci0 dev 20 function 0 AMD CS5536 ISA rev 0x03: rev 3, 32-bit 3579545Hz timer, watchdog, gpio gpio0 at glxpcib0: 32 pins pciide0 at pci0 dev 20 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: SanDisk
Re: Soekris net5501 OpenBSD 4.5 Booting Problem
I cannot get a Soekris net5501 to boot OpenBSD 4.5 from a hard drive. Much traffic has passed on the Soekris email list. I've now included misc@OpenBSD.org, because it might be an OpenBSD problem. I re-installed OpenBSD. And I noticed a problem at the end of the install process. I have a broken MBR. This is probably why my Soekris net5501 won't boot from hard drive. - start of transcript - Installing boot block... boot: /mnt/boot proto: /usr/mdec/biosboot device: /dev/rwd0c /usr/mdec/biosboot: entry point 0 proto bootblock size 512 /mnt/boot is 3 blocks x 16384 bytes fs block shift 2; part offset 63; inode block 24, offset 11048 installboot: broken MBR done. - end of transcript - Notice that I have a broken MBR. This is bad. I've never seen this happen before. Here is my partitioning and slicing information: - start of transcript - # fdisk wd0 Disk: wd0 geometry: 12161/255/63 [195371568 Sectors] Offset: 0 Signature: 0x0 ^^ That is not a valid MBR. Use fdisk to fix this. It is now required that the MBR has a correct signature. If the signature is not 0xAA55, it is not a MBR partition.
Re: [Soekris] Soekris net5501 OpenBSD 4.5 Booting Problem
Hi Ken, On Fri, 2009-07-17 at 09:09 -0400, Hendrickson, Kenneth wrote: *0: A6 0 1 1 -131 127 63 [ 63: 2112516 ] OpenBSD 1: DA131 128 1 -262 254 63 [ 2112579: 2112516 ] Unknown ID 2: DA263 0 1 - 6211 254 63 [ 4225095:95570685 ] Unknown ID 3: DA 6212 0 1 - 12160 254 63 [99795780:95570685 ] Unknown ID Just follow the instructions in the OpenBSD installer, offered by default. When it prompts you 'Do you want to use all of wd0 for OpenBSD', just say yes, it will run fdisk -i It will make partition 3 the default active bootable one But I *never* want to use the entire disk for OpenBSD. I have a system for quick recovery in case of a disaster. I only use half of the disk. When I install a new version of OpenBSD, I use the other half of the disk. That way, if a disaster happens, I can quickly boot, run fdisk -- changing the bootable partition, and then reboot into my previous system. In the above fdisk output, partitions 0 and 2 are my current system, while partitions 1 and 3 are my last and next systems. After I install a new system onto partitions 1 and 3, partitions 0 and 2 will become my last and next systems. (Using 2 partitions like this is a holdover from the days when the bootable partition had to be in the first few cylinders of the drive.) From Absolute OpenBSD - UNIX for the practical paranoid by Michael Lucas I've learned that: OpenBSD partitions need to go within a single MBR partition. Dedicate a single MBR partition ... There can only be one OpenBSD MBR partition per hard disk. I can't make much sense of what you describe here, but to me it looks like it suggests that you're using a single disklabel which spans more than one MBR partition. Or even moving around the disklabel at will. If so, would you be willing to publish something like a howto on this subject?. Or else tell us where to find one? I know about multiple OpenBSD installations inside a single set of subpartitions, but that's still a single MBR partition. No fdisk or disklabel involved after initial setup, but probably more vulnerable than what you describe here. Bill I'm surprised more people don't do this. It provides for very quick and easy recovery in the case of a disaster. (I've only ever had such a disaster once; I've been using OpenBSD since late 1996.) The other advantage of this system is that it provides an easy means for seeing how I did things previously. I can quickly run disklabel, use an empty slice to point to one of my old slices, and then mount it. After I'm done I can run disklabel again and put it back. So I never want to use the entire disk for OpenBSD. Therefore, I will need to remember to escape to a shell and run fdisk -u when installing to a virgin disk. It would be nice if the OpenBSD install procedure checked for the lack of a valid MBR, and installed one automatically (after asking); that would save some people from experiencing the problem I experienced. Ken Hendrickson ___ Soekris-tech mailing list soekris-t...@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: Soekris net5501 OpenBSD 4.5 Booting Problem
*0: A6 0 1 1 -131 127 63 [ 63: 2112516 ] OpenBSD 1: DA131 128 1 -262 254 63 [ 2112579: 2112516 ] Unknown ID 2: DA263 0 1 - 6211 254 63 [ 4225095:95570685 ] Unknown ID 3: DA 6212 0 1 - 12160 254 63 [99795780:95570685 ] Unknown ID Just follow the instructions in the OpenBSD installer, offered by default. When it prompts you 'Do you want to use all of wd0 for OpenBSD', just say yes, it will run fdisk -i It will make partition 3 the default active bootable one But I *never* want to use the entire disk for OpenBSD. I have a system for quick recovery in case of a disaster. I only use half of the disk. When I install a new version of OpenBSD, I use the other half of the disk. That way, if a disaster happens, I can quickly boot, run fdisk -- changing the bootable partition, and then reboot into my previous system. In the above fdisk output, partitions 0 and 2 are my current system, while partitions 1 and 3 are my last and next systems. After I install a new system onto partitions 1 and 3, partitions 0 and 2 will become my last and next systems. (Using 2 partitions like this is a holdover from the days when the bootable partition had to be in the first few cylinders of the drive.) I'm surprised more people don't do this. It provides for very quick and easy recovery in the case of a disaster. (I've only ever had such a disaster once; I've been using OpenBSD since late 1996.) The other advantage of this system is that it provides an easy means for seeing how I did things previously. I can quickly run disklabel, use an empty slice to point to one of my old slices, and then mount it. After I'm done I can run disklabel again and put it back. So I never want to use the entire disk for OpenBSD. Therefore, I will need to remember to escape to a shell and run fdisk -u when installing to a virgin disk. It would be nice if the OpenBSD install procedure checked for the lack of a valid MBR, and installed one automatically (after asking); that would save some people from experiencing the problem I experienced. Ken Hendrickson
Re: Soekris net5501 OpenBSD 4.5 Booting Problem
I cannot get a Soekris net5501 to boot OpenBSD 4.5 from a hard drive. Much traffic has passed on the Soekris email list. I've now included misc@OpenBSD.org, because it might be an OpenBSD problem. I re-installed OpenBSD. And I noticed a problem at the end of the install process. I have a broken MBR. This is probably why my Soekris net5501 won't boot from hard drive. - start of transcript - Installing boot block... boot: /mnt/boot proto: /usr/mdec/biosboot device: /dev/rwd0c /usr/mdec/biosboot: entry point 0 proto bootblock size 512 /mnt/boot is 3 blocks x 16384 bytes fs block shift 2; part offset 63; inode block 24, offset 11048 installboot: broken MBR done. - end of transcript - Notice that I have a broken MBR. This is bad. I've never seen this happen before. Here is my partitioning and slicing information: - start of transcript - # fdisk wd0 Disk: wd0 geometry: 12161/255/63 [195371568 Sectors] Offset: 0 Signature: 0x0 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] - -- *0: A6 0 1 1 -131 127 63 [ 63: 2112516 ] OpenBSD 1: DA131 128 1 -262 254 63 [ 2112579: 2112516 ] Unknown ID 2: DA263 0 1 - 6211 254 63 [ 4225095:95570685 ] Unknown ID 3: DA 6212 0 1 - 12160 254 63 [99795780:95570685 ] Unknown ID # disklabel wd0 # /dev/rwd0c: type: ESDI disk: ESDI/IDE disk label: FUJITSU MHW2100B flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 12161 total sectors: 195371568 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 2112516 63 4.2BSD 2048 163841 b: 1076355 4225095swap c:1953715680 unused d: 2112516 5301450 4.2BSD 2048 163841 e: 4201029 7413966 4.2BSD 2048 163841 f: 4209030 11614995 4.2BSD 2048 163841 g: 4209030 15824025 4.2BSD 2048 163841 h: 4209030 20033055 4.2BSD 2048 163841 i: 2112516 2112579 unknown j: 2104515 28451115 4.2BSD 2048 163841 k: 95570685 99795780 unknown l: 2104515 24242085 4.2BSD 2048 163841 m: 2104515 26346600 4.2BSD 2048 163841 n: 50347710 30555630 4.2BSD 2048 163841 o: 16787925 80903340 4.2BSD 2048 163841 p: 2104515 97691265 4.2BSD 2048 163841 # mount -t ffs /dev/wd0a /mnt # cat /mnt/etc/fstab /dev/wd0a / ffs rw 1 1 /dev/wd0d /altroot ffs rw,nodev,nosuid 1 2 /dev/wd0j /root ffs rw,nodev,nosuid 1 2 /dev/wd0e /tmp ffs rw,nodev,nosuid 1 2 /dev/wd0n /usr ffs rw,nodev 1 2 /dev/wd0p /usr/local/src ffs rw,nodev 1 2 /dev/wd0o /usr/obj ffs rw,nodev,nosuid 1 2 /dev/wd0f /var ffs rw,nodev,nosuid 1 2 /dev/wd0h /var/crash ffs rw,nodev,nosuid 1 2 /dev/wd0l /var/log ffs rw,nodev,nosuid 1 2 /dev/wd0m /var/mail ffs rw,nodev,nosuid 1 2 /dev/wd0g /var/tmp ffs rw,nodev,nosuid 1 2 # umount /mnt - end of transcript - What do I need to do to fix this problem? I realize this is as much an OpenBSD problem (or more so) as it is a Soekris net5501 problem. Is there a problem with my disk partitioning? Is there a problem with my OpenBSD partition disk slicing? I can provide a full transcript of the install if it will help. Thanks In Advance, Ken Hendrickson
Re: Soekris Net 5501 RT2860/2850 hangs in 4.6-beta
To clarify, can you give an exact procedure to reproduce? (E.g. an ftp transfer of a 100MB file from the internet to another box, routed through onboard ethernet on the Soekris) I've been getting seemingly random occasional hangs with ral in HostAP mode that I haven't been able to correlate with any kind of traffic.
Re: Soekris Net 5501 RT2860/2850 hangs in 4.6-beta
On Tue, July 7, 2009 03:43, Ian Lindsay wrote: To clarify, can you give an exact procedure to reproduce? (E.g. an ftp transfer of a 100MB file from the internet to another box, routed through onboard ethernet on the Soekris) I've been getting seemingly random occasional hangs with ral in HostAP mode that I haven't been able to correlate with any kind of traffic. as is hostap the subject, here it goes: I've always seen people say to do OpenBSD based AP, but I always get to see hostap on OpenBSD just makes inter-AP stuff. can I make a wpa/wpa2 based ap using OpenBSD ? I have an atheros card that is well suported. based on: http://www.openbsd.org/cgi-bin/man.cgi?query=hostapdapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html thanks, matheus -- We will call you cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style
Re: soekris 5501, ral(4) and 4.5-current
Just a quick update. Blew away 4.5-current I had on there (think it was April 27th) and put 4.5-release on to see if that makes any difference. (Previously, my Feb 28th 4.4-current snapshot had been running just fine.) Still get the odd lockup, and also get the Soekris locking up if I send it a lot of data (bittorrent, large scp, etc..) My power supply is fine. It's a 36W one with 12V, 3A DC output (model GFP361SA-1230-1). It's not one of those dodgy Soekris power adapters that were known to spontaneously fail (I checked on that.) Looking at CVSWeb, there haven't been any commits to RT2661*/ral(4) in months, so I'm not sure if upgrading to a snapshot at this time will be helpful or not. Is it worth doing a sendbug(1) on this one? Does damien@ read this list? :) Tom
Re: soekris 5501, ral(4) and 4.5-current
On 11:28, Sat 02 May 09, Tom wrote: Just a quick update. Blew away 4.5-current I had on there (think it was April 27th) and put 4.5-release on to see if that makes any difference. (Previously, my Feb 28th 4.4-current snapshot had been running just fine.) Still get the odd lockup, and also get the Soekris locking up if I send it a lot of data (bittorrent, large scp, etc..) My power supply is fine. It's a 36W one with 12V, 3A DC output (model GFP361SA-1230-1). It's not one of those dodgy Soekris power adapters that were known to spontaneously fail (I checked on that.) Looking at CVSWeb, there haven't been any commits to RT2661*/ral(4) in months, so I'm not sure if upgrading to a snapshot at this time will be helpful or not. Is it worth doing a sendbug(1) on this one? Does damien@ read this list? :) Maybe a stupid question, or a question already asked (did not read all the messages in this thread) but have you checked the temperature of the soekris? I put the soekris on it's side instead of horizontal, and the temp dropped from lockup temp to 50C and it's running stable now. Must be because the holes are only on the sides of the case and not in the top. -- Michiel van Baak mich...@vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer aficionados are both called users?
Re: soekris 5501, ral(4) and 4.5-current
Michiel van Baak wrote: Maybe a stupid question, or a question already asked (did not read all the messages in this thread) but have you checked the temperature of the soekris? I put the soekris on it's side instead of horizontal, and the temp dropped from lockup temp to 50C and it's running stable now. Must be because the holes are only on the sides of the case and not in the top. Hi, All the sensors seem to look like this: hw.sensors.nsclpcsio0.temp0=74.00 degC (Remote) hw.sensors.nsclpcsio0.temp1=127.00 degC (Remote) hw.sensors.nsclpcsio0.temp2=57.00 degC (Local) temp1 is always 127 C (must not be used). temp0 and temp2 never vary more than +/- 2 C from what is above. 74 C seems rather high, but I recall seeing on a Soekris mailing list that this reading is actually normal. Do yours give similar readings? Tom
Re: soekris 5501, ral(4) and 4.5-current
On 13:24, Sat 02 May 09, Tom wrote: Michiel van Baak wrote: Maybe a stupid question, or a question already asked (did not read all the messages in this thread) but have you checked the temperature of the soekris? I put the soekris on it's side instead of horizontal, and the temp dropped from lockup temp to 50C and it's running stable now. Must be because the holes are only on the sides of the case and not in the top. Hi, All the sensors seem to look like this: hw.sensors.nsclpcsio0.temp0=74.00 degC (Remote) hw.sensors.nsclpcsio0.temp1=127.00 degC (Remote) hw.sensors.nsclpcsio0.temp2=57.00 degC (Local) temp1 is always 127 C (must not be used). temp0 and temp2 never vary more than +/- 2 C from what is above. 74 C seems rather high, but I recall seeing on a Soekris mailing list that this reading is actually normal. Do yours give similar readings? hw.sensors.nsclpcsio0.temp0=71.00 degC (Remote) hw.sensors.nsclpcsio0.temp1=127.00 degC (Remote) hw.sensors.nsclpcsio0.temp2=53.00 degC (Local) temp2 is the CPU. 57 C is not too hot for the soekris, so that shouldn't be the problem. -- Michiel van Baak mich...@vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer aficionados are both called users?
Re: soekris 5501, ral(4) and 4.5-current
Tom Murphy wrote: Alexander Hall wrote: I'll second this; from a gw of mine: $ sudo crontab -l | grep ral0 # Down and up ral0 on failure * * * * * ifconfig ral0 | grep -q OACTIVE { ifconfig \ ral0; echo \n *\n; ifconfig ral0 down; sleep 1; ifconfig ral0 up; ifconfig \ ral0; } /Alexander Hi Alexander, What does the 'OACTIVE' mean? I put that crontab entry in and about 5 times already it came up with OACTIVE in the ifconfig output and it downed the interface and brought it back up. So far the machine has stayed up and hasn't locked up solid yet. Is downing the interface and bringing it back up when it's 'OACTIVE' help prevent the box from locking up? No idea really. I noticed sometimes that the ral0 interface stopped working and the down+up dance made it work again. Later I noticed that the OACTIVE flag was set when the card locked up. For me, the box itself never locked up, but rather the AP just got inaccesible. I skimmed through the code but to no avail. /Alexander
Re: soekris 5501, ral(4) and 4.5-current
I took my RT2860 card (which likes to lock up the Soekris 5501 fairly quickly), stuck it in an Openbsd 4.5-current (April 27 snap) and it performed properly and didn't lock up. Mind you, the machine is amd64 and quite well powered. I transferred a lot of files with scp, got about 1.2 MB/s on a single transfer which isn't that bad considering there's about 4-5 access points around or in the building. The caveat on the ral(4) man page: Some PCI ral adapters seem to strictly require a system supporting PCI 2.2 or greater and will likely not work in systems based on older revi- sions of the PCI specification. Check the board's PCI version before purchasing the card. Does the Soekris net5501-70 support PCI 2.2 or greater? (I couldn't find anything in the specs or docs of it.) That's the only thing I can think of. I can try a new power supply if that's the cause, but it seems so difficult to isolate this bug. Stuart: any luck with your ral* card in your Alix? Regards, Tom
Re: soekris 5501, ral(4) and 4.5-current
On Tue, 28 Apr 2009, Tom wrote: I took my RT2860 card (which likes to lock up the Soekris 5501 fairly quickly), stuck it in an Openbsd 4.5-current (April 27 snap) and it performed properly and didn't lock up. Mind you, the machine is amd64 and quite well powered. I transferred a lot of files with scp, got about 1.2 MB/s on a single transfer which isn't that bad considering there's about 4-5 access points around or in the building. The caveat on the ral(4) man page: Some PCI ral adapters seem to strictly require a system supporting PCI 2.2 or greater and will likely not work in systems based on older revi- sions of the PCI specification. Check the board's PCI version before purchasing the card. Does the Soekris net5501-70 support PCI 2.2 or greater? (I couldn't find anything in the specs or docs of it.) Is this a PCI or a Mini PCI card? It should not matter, as Mini PCI is PCI 2.2. I don't see more than one PCI bus in my soekris dmesg, I would assume that the normal PCI connector is PCI 2.2 as well. Kind regards, Markus
Re: soekris 5501, ral(4) and 4.5-current
Markus Hennecke wrote: On Tue, 28 Apr 2009, Tom wrote: I took my RT2860 card (which likes to lock up the Soekris 5501 fairly quickly), stuck it in an Openbsd 4.5-current (April 27 snap) and it performed properly and didn't lock up. Mind you, the machine is amd64 and quite well powered. I transferred a lot of files with scp, got about 1.2 MB/s on a single transfer which isn't that bad considering there's about 4-5 access points around or in the building. The caveat on the ral(4) man page: Some PCI ral adapters seem to strictly require a system supporting PCI 2.2 or greater and will likely not work in systems based on older revi- sions of the PCI specification. Check the board's PCI version before purchasing the card. Does the Soekris net5501-70 support PCI 2.2 or greater? (I couldn't find anything in the specs or docs of it.) Is this a PCI or a Mini PCI card? It should not matter, as Mini PCI is PCI 2.2. I don't see more than one PCI bus in my soekris dmesg, I would assume that the normal PCI connector is PCI 2.2 as well. Hi Markus, It's a PCI card. ral0 at pci5 dev 9 function 0 Ralink RT2860 rev 0x00: apic 1 int 18 (irq 11), address MAC address ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T3R) Regards, Tom
Re: soekris 5501, ral(4) and 4.5-current
Alexander Hall wrote: I'll second this; from a gw of mine: $ sudo crontab -l | grep ral0 # Down and up ral0 on failure * * * * * ifconfig ral0 | grep -q OACTIVE { ifconfig \ ral0; echo \n *\n; ifconfig ral0 down; sleep 1; ifconfig ral0 up; ifconfig \ ral0; } /Alexander Hi Alexander, What does the 'OACTIVE' mean? I put that crontab entry in and about 5 times already it came up with OACTIVE in the ifconfig output and it downed the interface and brought it back up. So far the machine has stayed up and hasn't locked up solid yet. Is downing the interface and bringing it back up when it's 'OACTIVE' help prevent the box from locking up? Regards, Tom
Re: soekris 5501, ral(4) and 4.5-current
On 2009-04-28, Tom tdmurp...@gmail.com wrote: Stuart: any luck with your ral* card in your Alix? it still works fine with the up-to-date snap it's now running (before it was running code from a month or two ago, also pretty much stable).
Re: soekris 5501, ral(4) and 4.5-current
On 2009-04-26, Tom tdmurp...@gmail.com wrote: On 2009-04-26. Stuart Henderson wrote: On 2009-04-25, Tom wrote: I have a ral(4) acting as a hostap. The problems began since ugrading from Feb 28th snapshot to April 10th (and higher). I have a Soekris 5501. I bought 2 different ral(4) PCI cards, one is a RT2661 and the other is a RT2860 (Planex GW-DS3300N). The RT2661 actually lasts longer than the RT2860. When I have the RT2860 in the box, it doesn't matter whether I use no encryption, WEP, WPA1 or WPA2. The box locks up without any kind of drop into ddb. When the RT2661 is in the machine, it will stay up a day, maybe two tops before it locks solid. try a different psu, especially if you have the lower-power of the ones that soekris sell. Hi, I got the higher psu of the ones soekris sell. It's 12V, 3A. That should be enough for the 2.5 laptop disk plus the PCI card I run, right? usually, yes, but there have been so many reported strange problems with soekris boxes that went away after switching PSU, it's a good thing to check early on. I'll try moving my alix with RT2860 to -current to see if I can replicate though..
Re: soekris 5501, ral(4) and 4.5-current
Stuart Henderson wrote: On 2009-04-26, Tom tdmurp...@gmail.com wrote: On 2009-04-26. Stuart Henderson wrote: On 2009-04-25, Tom wrote: I have a ral(4) acting as a hostap. The problems began since ugrading from Feb 28th snapshot to April 10th (and higher). I have a Soekris 5501. I bought 2 different ral(4) PCI cards, one is a RT2661 and the other is a RT2860 (Planex GW-DS3300N). The RT2661 actually lasts longer than the RT2860. When I have the RT2860 in the box, it doesn't matter whether I use no encryption, WEP, WPA1 or WPA2. The box locks up without any kind of drop into ddb. When the RT2661 is in the machine, it will stay up a day, maybe two tops before it locks solid. try a different psu, especially if you have the lower-power of the ones that soekris sell. Hi, I got the higher psu of the ones soekris sell. It's 12V, 3A. That should be enough for the 2.5 laptop disk plus the PCI card I run, right? usually, yes, but there have been so many reported strange problems with soekris boxes that went away after switching PSU, it's a good thing to check early on. I'll try moving my alix with RT2860 to -current to see if I can replicate though.. I picked up a 12V, 3A PSU for my net4501 and it didn't fix the issue I am having running my ral(4) card in hostap mode on 4.4-stable. ral0 at pci0 dev 17 function 0 Ralink RT2860 rev 0x00: irq 11, address 00:0e:8e:20:84:94 ral0: MAC/BBP RT2860 (rev 0x0102), RF RT2850 (2T3R) I'm having a different issue where the clients are connecting momentarily and then disconnecting. When I have a moment I'm going to throw this card in a spare desktop I have to rule out an issue with the hardware or driver under 4.4-stable. I'll update the list when I test this. Cheers, -C
Re: soekris 5501, ral(4) and 4.5-current
try ifconfig ral0 down; ifconfig ral0 up. that's a different thing and I suspect is a problem either in the driver or net80211. I have seen this on ral occasionally and have now seen something similar or the same on an acx which used to be stable; the only change at all with the acx was moving it to an environment with more other wireless devices around. unfortunately the places where I can actually get any diagnostic output are not places where this problem occurs... On 2009/04/27 11:46, Chris Jones wrote: Stuart Henderson wrote: On 2009-04-26, Tom tdmurp...@gmail.com wrote: On 2009-04-26. Stuart Henderson wrote: On 2009-04-25, Tom wrote: I have a ral(4) acting as a hostap. The problems began since ugrading from Feb 28th snapshot to April 10th (and higher). I have a Soekris 5501. I bought 2 different ral(4) PCI cards, one is a RT2661 and the other is a RT2860 (Planex GW-DS3300N). The RT2661 actually lasts longer than the RT2860. When I have the RT2860 in the box, it doesn't matter whether I use no encryption, WEP, WPA1 or WPA2. The box locks up without any kind of drop into ddb. When the RT2661 is in the machine, it will stay up a day, maybe two tops before it locks solid. try a different psu, especially if you have the lower-power of the ones that soekris sell. Hi, I got the higher psu of the ones soekris sell. It's 12V, 3A. That should be enough for the 2.5 laptop disk plus the PCI card I run, right? usually, yes, but there have been so many reported strange problems with soekris boxes that went away after switching PSU, it's a good thing to check early on. I'll try moving my alix with RT2860 to -current to see if I can replicate though.. I picked up a 12V, 3A PSU for my net4501 and it didn't fix the issue I am having running my ral(4) card in hostap mode on 4.4-stable. ral0 at pci0 dev 17 function 0 Ralink RT2860 rev 0x00: irq 11, address 00:0e:8e:20:84:94 ral0: MAC/BBP RT2860 (rev 0x0102), RF RT2850 (2T3R) I'm having a different issue where the clients are connecting momentarily and then disconnecting. When I have a moment I'm going to throw this card in a spare desktop I have to rule out an issue with the hardware or driver under 4.4-stable. I'll update the list when I test this. Cheers, -C
Re: soekris 5501, ral(4) and 4.5-current
I'll second this; from a gw of mine: $ sudo crontab -l | grep ral0 # Down and up ral0 on failure * * * * * ifconfig ral0 | grep -q OACTIVE { ifconfig ral0; echo \n *\n; ifconfig ral0 down; sleep 1; ifconfig ral0 up; ifconfig ral0; } /Alexander Stuart Henderson wrote: try ifconfig ral0 down; ifconfig ral0 up. that's a different thing and I suspect is a problem either in the driver or net80211. I have seen this on ral occasionally and have now seen something similar or the same on an acx which used to be stable; the only change at all with the acx was moving it to an environment with more other wireless devices around. unfortunately the places where I can actually get any diagnostic output are not places where this problem occurs... On 2009/04/27 11:46, Chris Jones wrote: Stuart Henderson wrote: On 2009-04-26, Tom tdmurp...@gmail.com wrote: On 2009-04-26. Stuart Henderson wrote: On 2009-04-25, Tom wrote: I have a ral(4) acting as a hostap. The problems began since ugrading from Feb 28th snapshot to April 10th (and higher). I have a Soekris 5501. I bought 2 different ral(4) PCI cards, one is a RT2661 and the other is a RT2860 (Planex GW-DS3300N). The RT2661 actually lasts longer than the RT2860. When I have the RT2860 in the box, it doesn't matter whether I use no encryption, WEP, WPA1 or WPA2. The box locks up without any kind of drop into ddb. When the RT2661 is in the machine, it will stay up a day, maybe two tops before it locks solid. try a different psu, especially if you have the lower-power of the ones that soekris sell. Hi, I got the higher psu of the ones soekris sell. It's 12V, 3A. That should be enough for the 2.5 laptop disk plus the PCI card I run, right? usually, yes, but there have been so many reported strange problems with soekris boxes that went away after switching PSU, it's a good thing to check early on. I'll try moving my alix with RT2860 to -current to see if I can replicate though.. I picked up a 12V, 3A PSU for my net4501 and it didn't fix the issue I am having running my ral(4) card in hostap mode on 4.4-stable. ral0 at pci0 dev 17 function 0 Ralink RT2860 rev 0x00: irq 11, address 00:0e:8e:20:84:94 ral0: MAC/BBP RT2860 (rev 0x0102), RF RT2850 (2T3R) I'm having a different issue where the clients are connecting momentarily and then disconnecting. When I have a moment I'm going to throw this card in a spare desktop I have to rule out an issue with the hardware or driver under 4.4-stable. I'll update the list when I test this. Cheers, -C
Re: soekris 5501, ral(4) and 4.5-current
FRLinux wrote: On Sat, Apr 25, 2009 at 11:17 PM, Jochem Kossen jochem.kos...@gmail.com wrote: Interesting, I've got exactly the same problem with an rt2860. I thought it was just bad hardware (suspecting the rt2860), or temperature issues, and pulled out the card. The machine's been rock-solid since (d'oh). For me eworks, snapshot from 28/02/2009, rock stable (ral card running as AP with WPA-PSK): ral0 at pci0 dev 14 function 0 Ralink RT2561S rev 0x00: irq 11, address 00:12:0e:61:4a:70 ral0: MAC/BBP RT2561C, RF RT5225 Here it works too with 4.5, looks like a similar card. Only issue is that the card won't work in 11g mode (and never did with the previous releases): ral0 at pci0 dev 17 function 0 Ralink RT2561S rev 0x00: irq 15, address 00:1d:7d:46:87:1b ral0: MAC/BBP RT2561C, RF RT2527 Kind regards, Markus
Re: soekris 5501, ral(4) and 4.5-current
2009/4/25 FRLinux frli...@gmail.com: On Sat, Apr 25, 2009 at 11:17 PM, Jochem Kossen jochem.kos...@gmail.com wrote: Interesting, I've got exactly the same problem with an rt2860. I thought it was just bad hardware (suspecting the rt2860), or temperature issues, and pulled out the card. The machine's been rock-solid since (d'oh). For me eworks, snapshot from 28/02/2009, rock stable (ral card running as AP with WPA-PSK): ral0 at pci0 dev 14 function 0 Ralink RT2561S rev 0x00: irq 11, address 00:12:0e:61:4a:70 ral0: MAC/BBP RT2561C, RF RT5225 Cheers, Steph Interesting. I wonder though, is the 4.5-release code based on the February 28, 2009 snapshot? (Or thereabouts?) If so, then 4.5-release should work reliably for these cards. I did notice the RT2661 comes up default in 802.11b mode, but setting 'mediaopt mode 11g' in ifconfig/hostname.ral0 works fine. The card will lock up the machine in a day or so (or if any large amount of data is transferred through it in a short time = more immediate lockup). So it seems something between Feb. 28th and April 10th snapshots broke ral(4), or at least how ral(4) interacts with the machine. Hopefully, my pre-ordered 4.5 CD will arrive in tomorrow's mail and I can replace the April 25th snapshot with it and it will be a lot more reliable. Tom
Re: soekris 5501, ral(4) and 4.5-current
On 2009-04-25, Tom tdmurp...@gmail.com wrote: I have a ral(4) acting as a hostap. The problems began since ugrading from Feb 28th snapshot to April 10th (and higher). I have a Soekris 5501. I bought 2 different ral(4) PCI cards, one is a RT2661 and the other is a RT2860 (Planex GW-DS3300N). The RT2661 actually lasts longer than the RT2860. When I have the RT2860 in the box, it doesn't matter whether I use no encryption, WEP, WPA1 or WPA2. The box locks up without any kind of drop into ddb. When the RT2661 is in the machine, it will stay up a day, maybe two tops before it locks solid. try a different psu, especially if you have the lower-power of the ones that soekris sell.
Re: soekris 5501, ral(4) and 4.5-current
On 2009-04-26. Stuart Henderson wrote: On 2009-04-25, Tom wrote: I have a ral(4) acting as a hostap. The problems began since ugrading from Feb 28th snapshot to April 10th (and higher). I have a Soekris 5501. I bought 2 different ral(4) PCI cards, one is a RT2661 and the other is a RT2860 (Planex GW-DS3300N). The RT2661 actually lasts longer than the RT2860. When I have the RT2860 in the box, it doesn't matter whether I use no encryption, WEP, WPA1 or WPA2. The box locks up without any kind of drop into ddb. When the RT2661 is in the machine, it will stay up a day, maybe two tops before it locks solid. try a different psu, especially if you have the lower-power of the ones that soekris sell. Hi, I got the higher psu of the ones soekris sell. It's 12V, 3A. That should be enough for the 2.5 laptop disk plus the PCI card I run, right? Tom
Re: soekris 5501, ral(4) and 4.5-current
On Sun, Apr 26, 2009 at 12:20:52PM +0100, Tom wrote: On 2009-04-26. Stuart Henderson wrote: On 2009-04-25, Tom wrote: I have a ral(4) acting as a hostap. The problems began since ugrading from Feb 28th snapshot to April 10th (and higher). I have a Soekris 5501. I bought 2 different ral(4) PCI cards, one is a RT2661 and the other is a RT2860 (Planex GW-DS3300N). The RT2661 actually lasts longer than the RT2860. When I have the RT2860 in the box, it doesn't matter whether I use no encryption, WEP, WPA1 or WPA2. The box locks up without any kind of drop into ddb. When the RT2661 is in the machine, it will stay up a day, maybe two tops before it locks solid. try a different psu, especially if you have the lower-power of the ones that soekris sell. Hi, I got the higher psu of the ones soekris sell. It's 12V, 3A. That should be enough for the 2.5 laptop disk plus the PCI card I run, right? I've got the 2.08A version, according to kd85 it should work for 'even for a loaded 5501 (this means 2 PCI boards + a harddisk).'.
Re: soekris 5501, ral(4) and 4.5-current
On Sat, Apr 25, 2009 at 10:02:06PM +0100, Tom wrote: Hi, I have a ral(4) acting as a hostap. The problems began since ugrading from Feb 28th snapshot to April 10th (and higher). I have a Soekris 5501. I bought 2 different ral(4) PCI cards, one is a RT2661 and the other is a RT2860 (Planex GW-DS3300N). The RT2661 actually lasts longer than the RT2860. When I have the RT2860 in the box, it doesn't matter whether I use no encryption, WEP, WPA1 or WPA2. The box locks up without any kind of drop into ddb. When the RT2661 is in the machine, it will stay up a day, maybe two tops before it locks solid. Interesting, I've got exactly the same problem with an rt2860. I thought it was just bad hardware (suspecting the rt2860), or temperature issues, and pulled out the card. The machine's been rock-solid since (d'oh).
Re: soekris 5501, ral(4) and 4.5-current
On Sat, Apr 25, 2009 at 11:17 PM, Jochem Kossen jochem.kos...@gmail.com wrote: Interesting, I've got exactly the same problem with an rt2860. I thought it was just bad hardware (suspecting the rt2860), or temperature issues, and pulled out the card. The machine's been rock-solid since (d'oh). For me eworks, snapshot from 28/02/2009, rock stable (ral card running as AP with WPA-PSK): ral0 at pci0 dev 14 function 0 Ralink RT2561S rev 0x00: irq 11, address 00:12:0e:61:4a:70 ral0: MAC/BBP RT2561C, RF RT5225 Cheers, Steph
Re: soekris 5501, ral(4) and 4.5-current
Same problem here with an RT2860. Lars
Re: SOEKRIS - How to install MTR to a Flashdist image
Frothingdog.ca wrote: I really didn't realize how much this pushes everyones buttons. I thought OBSD was OBSD not matter where you go with it. I just replaced the kernel with netbsd, the userland with freebsd and try to start linux apps under emulation, but this is still OpenBSD so you will help me, no? No, its not OBSD no matter where you go with it. I thought these questions would be fairly easy to deal with on a forum. But perhaps that's the problem. I'm putting myself into a situation where I need to ask for answers that I shouldn't need to be ask for. I stated in my last post why I'm doing what I'm doing, and again it's my failing. I'm stubborn, I don't like giving up on something. I'd still like to get this working even if I don't end up using the image at least for the learning experience. Just because I like bashing my own head in over this sorta stuff doesn't mean everyone else does. I apologize. Its not the crazy doings, its the expectation that others are supposed to waste their time figuring out what weirdness you have caused that is wasteful.
Re: SOEKRIS - How to install MTR to a Flashdist image
On Thu, 26 Mar 2009 16:53:16 -0700 (PDT) Frothingdog.ca marro...@hotmail.com wrote: Wow pretty sad when people have nothing better to do then bash on someone who is just trying to learn the ropes. I full install to flash is next on the todo list, I wanted to figure this out because this is what was used 3+ years ago by the guy who set it up for us, I'm just trying to understand the process he used. But let the trash continue if it passes the time for you. Hiya Frothing, The public OpenBSD lists are about finding the most correct and most efficient solution; in other words, best practice. Just because some guy set things up a particular way does not mean he did things correctly or efficiently. Of course you are free to do whatever you like, including blatantly wild things, but if you want to venture away from best practice, then you're on your own. Whenever you venture off into unsupported territory, intentionally or otherwise, you're always on you own. You've probably seen me rant against Franken Source systems when people are reporting bugs, but truth be told, I *regularly* run monstrosities of my own creation. They are a lot of fun, and I've learned a lot by shooting myself in the foot countless times. The thing is, I know I'm doing something blatantly stupid, and I'm doing it for my own enjoyment, so I *never* expect help on it. Any problems I find are mine alone to solve. If I run out of time, talent or feet, then that's the end of it. There is a good answer for what you *need* to do, but you *want* a different answer, so you are on a solo adventure into unsupported territory. If you succeed, or fail, write up your experience and publish it out there on the `net. Someone might find the information useful, but expecting others to join you on your self-created quest to do things in a peculiar manner is very unrealistic. If you are extremely talented or extremely lucky, your peculiar manner might turn out to be the next best practice, but until then, it's *your* project. I've personally got this wild idea floating around of porting OpenBSD to the new Android v2.0 phone from Google... I may or may not decide to try it, and I may or may not succeed, but if I do make an attempt, then I'm totally on my own. Asking for help on *my* whimsical, unsupported idea will only annoy all the countless folks on this list who already know it's an unsupported and whimsical idea. -- J.C. Roberts
Re: SOEKRIS - How to install MTR to a Flashdist image
Yes I understand, hence my last post. J.C. Roberts-3 wrote: On Thu, 26 Mar 2009 16:53:16 -0700 (PDT) Frothingdog.ca marro...@hotmail.com wrote: Wow pretty sad when people have nothing better to do then bash on someone who is just trying to learn the ropes. I full install to flash is next on the todo list, I wanted to figure this out because this is what was used 3+ years ago by the guy who set it up for us, I'm just trying to understand the process he used. But let the trash continue if it passes the time for you. Hiya Frothing, The public OpenBSD lists are about finding the most correct and most efficient solution; in other words, best practice. Just because some guy set things up a particular way does not mean he did things correctly or efficiently. Of course you are free to do whatever you like, including blatantly wild things, but if you want to venture away from best practice, then you're on your own. Whenever you venture off into unsupported territory, intentionally or otherwise, you're always on you own. You've probably seen me rant against Franken Source systems when people are reporting bugs, but truth be told, I *regularly* run monstrosities of my own creation. They are a lot of fun, and I've learned a lot by shooting myself in the foot countless times. The thing is, I know I'm doing something blatantly stupid, and I'm doing it for my own enjoyment, so I *never* expect help on it. Any problems I find are mine alone to solve. If I run out of time, talent or feet, then that's the end of it. There is a good answer for what you *need* to do, but you *want* a different answer, so you are on a solo adventure into unsupported territory. If you succeed, or fail, write up your experience and publish it out there on the `net. Someone might find the information useful, but expecting others to join you on your self-created quest to do things in a peculiar manner is very unrealistic. If you are extremely talented or extremely lucky, your peculiar manner might turn out to be the next best practice, but until then, it's *your* project. I've personally got this wild idea floating around of porting OpenBSD to the new Android v2.0 phone from Google... I may or may not decide to try it, and I may or may not succeed, but if I do make an attempt, then I'm totally on my own. Asking for help on *my* whimsical, unsupported idea will only annoy all the countless folks on this list who already know it's an unsupported and whimsical idea. -- J.C. Roberts -- View this message in context: http://www.nabble.com/SOEKRIS---How-to-install-MTR-to-a-Flashdist-image-tp22636740p22741782.html Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: SOEKRIS - How to install MTR to a Flashdist image
Ran into another small snag. Working on installing netstat, I did the exact same thing I did with MTR however it still doesn't work. Gives me a /dev/drum error. And I can't seem to copy that drum file into the image. Any thoughts? -- View this message in context: http://www.nabble.com/SOEKRIS---How-to-install-MTR-to-a-Flashdist-image-tp22636740p22732420.html Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: SOEKRIS - How to install MTR to a Flashdist image
On Thu, 26 Mar 2009 15:26:50 -0700 (PDT) Frothingdog.ca marro...@hotmail.com wrote: Ran into another small snag. Working on installing netstat, I did the exact same thing I did with MTR however it still doesn't work. Gives me a /dev/drum error. And I can't seem to copy that drum file into the image. Any thoughts? Yeah, start over and install OpenBSD - less pain, more joy. - Robert
Re: SOEKRIS - How to install MTR to a Flashdist image
Robert wrote: On Thu, 26 Mar 2009 15:26:50 -0700 (PDT) Frothingdog.ca marro...@hotmail.com wrote: Ran into another small snag. Working on installing netstat, I did the exact same thing I did with MTR however it still doesn't work. Gives me a /dev/drum error. And I can't seem to copy that drum file into the image. Any thoughts? Yeah, start over and install OpenBSD - less pain, more joy. - Robert we tried that already, he's still more got feet, bullets, or time than he knows what to do with. Not sure which. Must be nice. Nick.
Re: SOEKRIS - How to install MTR to a Flashdist image
Wow pretty sad when people have nothing better to do then bash on someone who is just trying to learn the ropes. I full install to flash is next on the todo list, I wanted to figure this out because this is what was used 3+ years ago by the guy who set it up for us, I'm just trying to understand the process he used. But let the trash continue if it passes the time for you. Nick Holland wrote: Robert wrote: On Thu, 26 Mar 2009 15:26:50 -0700 (PDT) Frothingdog.ca marro...@hotmail.com wrote: Ran into another small snag. Working on installing netstat, I did the exact same thing I did with MTR however it still doesn't work. Gives me a /dev/drum error. And I can't seem to copy that drum file into the image. Any thoughts? Yeah, start over and install OpenBSD - less pain, more joy. - Robert we tried that already, he's still more got feet, bullets, or time than he knows what to do with. Not sure which. Must be nice. Nick. -- View this message in context: http://www.nabble.com/SOEKRIS---How-to-install-MTR-to-a-Flashdist-image-tp22636740p22733565.html Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: SOEKRIS - How to install MTR to a Flashdist image
Wow pretty sad when people have nothing better to do then bash on someone who is just trying to learn the ropes. I full install to flash is next on the todo list, I wanted to figure this out because this is what was used 3+ years ago by the guy who set it up for us, I'm just trying to understand the process he used. But let the trash continue if it passes the time for you. Nick Holland wrote: Robert wrote: On Thu, 26 Mar 2009 15:26:50 -0700 (PDT) Frothingdog.ca marro...@hotmail.com wrote: Ran into another small snag. Working on installing netstat, I did the exact same thing I did with MTR however it still doesn't work. Gives me a /dev/drum error. And I can't seem to copy that drum file into the image. Any thoughts? Yeah, start over and install OpenBSD - less pain, more joy. - Robert we tried that already, he's still more got feet, bullets, or time than he knows what to do with. Not sure which. Must be nice. Nick. -- View this message in context: http://www.nabble.com/SOEKRIS---How-to-install-MTR-to-a-Flashdist-image-tp22636740p22733585.html Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: SOEKRIS - How to install MTR to a Flashdist image
Everybody's young once. 15 years ago I impressed the hell out of my by putting dos/netware3/netware4/linux/windows3.1/win95/nt4/openbsd/solaris on one box - or some combo of the above (didn't have time for plan9). Then, I went - wtf? And spend my time working on kernel options. Then I went wtf again, and used only openbsd on my main box. Still futz around with other OSes from time to time - I really like zfs, for example. But, no more screwing around with stuff that doesn't need screwing with. On 3/26/09, Nick Holland n...@holland-consulting.net wrote: Robert wrote: On Thu, 26 Mar 2009 15:26:50 -0700 (PDT) Frothingdog.ca marro...@hotmail.com wrote: Ran into another small snag. Working on installing netstat, I did the exact same thing I did with MTR however it still doesn't work. Gives me a /dev/drum error. And I can't seem to copy that drum file into the image. Any thoughts? Yeah, start over and install OpenBSD - less pain, more joy. - Robert we tried that already, he's still more got feet, bullets, or time than he knows what to do with. Not sure which. Must be nice. Nick. -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk This officer's men seem to follow him merely out of idle curiosity. -- Sandhurst officer cadet evaluation. Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted. -- Gene Spafford learn french: http://www.youtube.com/watch?v=j1G-3laJJP0feature=related
Re: SOEKRIS - How to install MTR to a Flashdist image
On Thu, 26 Mar 2009 16:53:16 -0700 (PDT), Frothingdog.ca wrote: Wow pretty sad when people have nothing better to do then bash on someone who is just trying to learn the ropes. I full install to flash is next on the todo list, I wanted to figure this out because this is what was used 3+ years ago by the guy who set it up for us, I'm just trying to understand the process he used. But let the trash continue if it passes the time for you. I've stayed out of this until now but that statement is very off. What you are trying to do is seen by most people as an obsolete technique for minimal installs and totally whacky for complex ones. As an inveterate tinkerer I sometimes do stuff with OpenBSD or pf or carp or whatever that is, AFAICT, viewed as crazy by most cluey people. I try to avoid wasting other people's time with questions on those adventures. ISTM that you are going far beyond the original flashdist and you are somewhat lacking in navigational tools. You are not just understanding the original at all - you are sailing in waters for which you have no charts. It's your time and if you have plenty of that you can play all you like but banging on here about how you can do better at an unnecessarily complex way to install a system will eventually result in your questions being ignored by anybody who has in-depth clues and answered by woobies who don't know that they might have less clues than you. Robert's answer to you was polite and appropriate. It is the best thing to do. Nick's reply to Robert was a statement of fact. He is never rude. It is well known around here that: We give you the guns and ammo. Aiming at your feet and pulling the trigger is your choice. You break it - you get to keep all the pieces. Please don't reply to my sender address. It is a spamtrap to ALL sending IPs except the list servers. Rod/ A consultant is someone who's called in when someone has painted himself into a corner. He's expected to levitate his client out of that corner. -The Sayings of Chairman Morrow. 1984.
Re: SOEKRIS - How to install MTR to a Flashdist image
I really didn't realize how much this pushes everyones buttons. I thought OBSD was OBSD not matter where you go with it. I thought these questions would be fairly easy to deal with on a forum. But perhaps that's the problem. I'm putting myself into a situation where I need to ask for answers that I shouldn't need to be ask for. I stated in my last post why I'm doing what I'm doing, and again it's my failing. I'm stubborn, I don't like giving up on something. I'd still like to get this working even if I don't end up using the image at least for the learning experience. Just because I like bashing my own head in over this sorta stuff doesn't mean everyone else does. I apologize. I'll work through it on my own. Sorry again. BOFH-5 wrote: Everybody's young once. 15 years ago I impressed the hell out of my by putting dos/netware3/netware4/linux/windows3.1/win95/nt4/openbsd/solaris on one box - or some combo of the above (didn't have time for plan9). Then, I went - wtf? And spend my time working on kernel options. Then I went wtf again, and used only openbsd on my main box. Still futz around with other OSes from time to time - I really like zfs, for example. But, no more screwing around with stuff that doesn't need screwing with. On 3/26/09, Nick Holland n...@holland-consulting.net wrote: Robert wrote: On Thu, 26 Mar 2009 15:26:50 -0700 (PDT) Frothingdog.ca marro...@hotmail.com wrote: Ran into another small snag. Working on installing netstat, I did the exact same thing I did with MTR however it still doesn't work. Gives me a /dev/drum error. And I can't seem to copy that drum file into the image. Any thoughts? Yeah, start over and install OpenBSD - less pain, more joy. - Robert we tried that already, he's still more got feet, bullets, or time than he knows what to do with. Not sure which. Must be nice. Nick. -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk This officer's men seem to follow him merely out of idle curiosity. -- Sandhurst officer cadet evaluation. Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted. -- Gene Spafford learn french: http://www.youtube.com/watch?v=j1G-3laJJP0feature=related -- View this message in context: http://www.nabble.com/SOEKRIS---How-to-install-MTR-to-a-Flashdist-image-tp22636740p22734484.html Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: SOEKRIS - How to install MTR to a Flashdist image
* Luis F Urrea lfur...@gmail.com [2009-03-24 16:41]: 2009/3/24 Henning Brauer lists-open...@bsws.de: fortunately denmark has (basically) no coffee, otherwise i would have needed a new x40 keyboard. good laugh. what next, I wear no underwear for security reasons? Shit, I drink like 4 cups of coffee a day! ...thx god these run without keyboards :) the key is not to have coffee (or anything that is claimed to be coffee) in mouth when reading these ridiculous statements -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: SOEKRIS - How to install MTR to a Flashdist image
On Thu, Mar 26, 2009 at 01:12:52AM +0100, Henning Brauer wrote: the key is not to have coffee (or anything that is claimed to be coffee) in mouth when reading these ridiculous statements Black coffee is not too bad, but Coca Cola Classic makes a really sticky mess in your laptop. Tip: if you remove the battery quickly and rinse the keyboard in distilled water, using a wet rag on other affected parts, and let it dry 24 hours, even an apparently hopeless case can be rescued: OpenBSD 4.5-current (GENERIC) #1: Mon Mar 23 23:28:11 MDT 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 601 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 200765440 (191MB) avail mem = 185712640 (177MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/21/02, BIOS32 rev. 0 @ 0xfe708, SMBIOS rev. 2.3 @ 0xbff (48 entries) bios0: vendor TOSHIBA version Version 1.40 date 01/21/2002 bios0: TOSHIBA PORTEGE 3480CT apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 100% apm0: AC on, battery charge high, estimated 1:28 hours acpi at bios0 function 0x0 not configured ...
Re: SOEKRIS - How to install MTR to a Flashdist image
the key is not to have coffee (or anything that is claimed to be coffee) in mouth when reading these ridiculous statements Not going to argue with that of course, correctness is what matters here not friendliness. And someone who runs an ISP definitely knows better than a newbie. Trying to stick to the topic of the post what I did in a test bed was to apply the cookie trick on a chroot environment after doing a CVS checkout of ports. Then you build the software you need to include in your image and get a detailed list of the files you need to deal with. The following script when run in the chroot and adapted from Chris script can be run against the output of the cookie trick to generate a final list. I am sure the script can be improved as well... #!/bin/ksh list=$1 distfile=`pwd`/$1 echo Procesando $distfile mandir=`mktemp -d /tmp/mandir.` manpages=`mktemp /tmp/flashdist.` TA=`mktemp /tmp/flashdist.` TB=`mktemp /tmp/flashdist.` while read i; do test -z $i continue if [ ! -f $i -a ! -h $i -a ! -d $i ]; then echo $i NOT FOUND notfound=1 elif [ -x $i ]; then lib=`ldd $i 2/dev/null | egrep 'rlib|rtld' | awk '{ print $7 }' | sort -u` for z in $lib; do if [ ! -f $z ]; then echo $z NOT FOUND (dependency of $i) notfound=1 else echo $z $TA fi done fi if echo $i | egrep ^/usr/local/man /dev/null; then xx=`dirname $mandir/$i.gz` if [ ! -d $xx ]; then mkdir -p $xx fi gzip -9c /$i $mandir/$i.gz echo $i.gz $manpages fi done $distfile egrep -v ^/usr/local/man $distfile $TA sort $TA | uniq $TB cat $TB | sed s/^.// lista.out
Re: SOEKRIS - How to install MTR to a Flashdist image
Ok..Here's an update on the progress. 1. I installed MTR on my OBSD machine 2. Located the MTR file on the system located at /usr/local/sbin 3. within that directory I ran: # ldd mtr Which gave the following output: StartEnd Type Open Ref GrpRef Name 1c00 3c1b3000 exe 10 0 mtr 046a5000 246ad000 rlib 01 0 /usr/lib/libm.so.3.0 0d48c000 2d49f000 rlib 01 0 /usr/lib/libtermcap.so.10.0 03d8b000 23dc1000 rlib 01 0 /usr/lib/libc.so.48.0 0388b000 0388b000 rtld 01 0 /usr/libexec/ld.so I then mounted my flashdist image to /mnt and then ran the following: # cp /usr/lib/libm.so.3.0 /mnt/usr/lib/ # cp /usr/lib/libtermcap.so.10.0 /mnt/usr/lib/ # cp /usr/lib/libc.so.48.0 /mnt/usr/lib/ # cp /usr/libexec/ld.so /mnt/usr/libexec/ # cp /usr/local/sbin/mtr /mnt/usr/local/sbin/ I then unmounted the image and flashed it to the CF card...and guess what it works. I did the exact same thing for IPERF and UPTIME and all are working fine. Next inline is getting NET-SNMP working and the HFSC...that should be fun. Thanks again for all you help. Luis F Urrea wrote: the key is not to have coffee (or anything that is claimed to be coffee) in mouth when reading these ridiculous statements Not going to argue with that of course, correctness is what matters here not friendliness. And someone who runs an ISP definitely knows better than a newbie. Trying to stick to the topic of the post what I did in a test bed was to apply the cookie trick on a chroot environment after doing a CVS checkout of ports. Then you build the software you need to include in your image and get a detailed list of the files you need to deal with. The following script when run in the chroot and adapted from Chris script can be run against the output of the cookie trick to generate a final list. I am sure the script can be improved as well... #!/bin/ksh list=$1 distfile=`pwd`/$1 echo Procesando $distfile mandir=`mktemp -d /tmp/mandir.` manpages=`mktemp /tmp/flashdist.` TA=`mktemp /tmp/flashdist.` TB=`mktemp /tmp/flashdist.` while read i; do test -z $i continue if [ ! -f $i -a ! -h $i -a ! -d $i ]; then echo $i NOT FOUND notfound=1 elif [ -x $i ]; then lib=`ldd $i 2/dev/null | egrep 'rlib|rtld' | awk '{ print $7 }' | sort -u` for z in $lib; do if [ ! -f $z ]; then echo $z NOT FOUND (dependency of $i) notfound=1 else echo $z $TA fi done fi if echo $i | egrep ^/usr/local/man /dev/null; then xx=`dirname $mandir/$i.gz` if [ ! -d $xx ]; then mkdir -p $xx fi gzip -9c /$i $mandir/$i.gz echo $i.gz $manpages fi done $distfile egrep -v ^/usr/local/man $distfile $TA sort $TA | uniq $TB cat $TB | sed s/^.// lista.out -- View this message in context: http://www.nabble.com/SOEKRIS---How-to-install-MTR-to-a-Flashdist-image-tp22636740p22715183.html Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: SOEKRIS - How to install MTR to a Flashdist image
* Luis F Urrea lfur...@gmail.com [2009-03-23 19:42]: not having pkg_add package installed for security reasons fortunately denmark has (basically) no coffee, otherwise i would have needed a new x40 keyboard. good laugh. what next, I wear no underwear for security reasons? -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: SOEKRIS - How to install MTR to a Flashdist image
Dnia 2009-03-23, o godz. 12:23:00 Luis F Urrea lfur...@gmail.com napisaE(a): Now, if you run ldd on the pkg_add binary you would get: ldd: /usr/sbin/pkg_add: not an ELF executable and I am not really sure why is that. Experts comments welcome here! $ ldd `which pkg_add` ldd: /usr/sbin/pkg_add: not an ELF executable $ file `which pkg_add` /usr/sbin/pkg_add: perl script text executable -- Kamil Monticolo
Re: SOEKRIS - How to install MTR to a Flashdist image
On Tue, Mar 24, 2009 at 10:53:57AM +0100, Henning Brauer wrote: | * Luis F Urrea lfur...@gmail.com [2009-03-23 19:42]: | not having pkg_add package installed for security reasons | | fortunately denmark has (basically) no coffee, otherwise i would have | needed a new x40 keyboard. good laugh. | | what next, I wear no underwear for security reasons? I bet it'll keep the (bad) folks away .. so, sure, why not ;) Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: SOEKRIS - How to install MTR to a Flashdist image
Frothingdog.ca wrote: I've been working on a OpenBSD image for a soekris boxes. I've actually made some headway with some help and pointers from Chris (maker of flashdist). I have the image mounted to /mnt/etc using vnconfig so I can modify the files before flashing the image (ie. boot.conf, rc, dhcpd.conf...etc). But I'd like to install a coupe packages into the image, such as MTR and TTCP. However I'm not quite sure how to do it or even where to start. I'm a newb to this. Any help would be great Thanks I think this are good points to start: http://techblagh.blogspot.com/2008/08/installing-openbsd-43-on-soekris-5501.html http://www.kernel-panic.it/openbsd/embedded/ I also started with flashdist and embedded but finally got convinced that normal install is much easier for me (also newby). Regards, Ivo
Re: SOEKRIS - How to install MTR to a Flashdist image
* Luis F Urrea lfur...@gmail.com [2009-03-23 19:42]: not having pkg_add package installed for security reasons 2009/3/24 Henning Brauer lists-open...@bsws.de: fortunately denmark has (basically) no coffee, otherwise i would have needed a new x40 keyboard. good laugh. what next, I wear no underwear for security reasons? Speeds up strip searches, doesn't it?! God bless the War on Terror. Aahhhmaeeerikkka Z BJTEEFULLL... OTOH, the true *TRUE* believers (in Jesus Christ and Joseph Smith) of course *DO* wear underwear for security reasons: http://en.wikipedia.org/wiki/Mormon_underwear regards, --ropers
Re: SOEKRIS - How to install MTR to a Flashdist image
2009/3/24 Henning Brauer lists-open...@bsws.de: fortunately denmark has (basically) no coffee, otherwise i would have needed a new x40 keyboard. good laugh. what next, I wear no underwear for security reasons? Shit, I drink like 4 cups of coffee a day! ...thx god these run without keyboards :)
Re: SOEKRIS - How to install MTR to a Flashdist image
There may be use cases for using flashdist, such as not having pkg_add package installed for security reasons and tailoring highly customized images ready to be flashed for FWs, NAS, VoIP GWs and so on. So, in that sense I am sure that the size of the flash is not the only motivation now a days. By default if I am not mistaken, flashdist does not include the pkg_add binary and therefore for the chroot suggestion you would at least need to get the pkg_add binary into the flash image. The technique used in the flashdist script for getting things installed uses `ldd` on a binary to find it's library dependencies and have them copied to the image. This is more likely to work at least for dinamically linked binaries which are fairly straightforward and in which you often do not need anymore files than the binary and shared libraries. You could use ldd as follows for wget as example: ldd /usr/local/bin/wget 2/dev/null | egrep 'rlib|rtld' | awk '{print $7}' \ |sort -u | xargs tar -cvf - | tar -C /mnt/flashdist-image -xpf - Where flashdist-image is the directory in which you have mounted the flashdist image Now, if you run ldd on the pkg_add binary you would get: ldd: /usr/sbin/pkg_add: not an ELF executable and I am not really sure why is that. Experts comments welcome here! Another option may be to use the -B option from pkg_add to define the chrooted environment as the destination dir, but I can't confirm that it would work as expected. For packages in which the structure of required files is more complex, daemons such as samba an the like, using ldd may not suffice and such programs may fail to execute mysteriously. In such cases, the ktrace(1) and kdump(1) may come in handy. ktrace followed by the filename will produce an output file named ktrace.out in the directory in which you run it. Then you need to use kdump command to inspect the previously generated ktrace.out, look for files that the program is attempting to open, particularly for the NAMI (name-to-inode) translation in order to get a clue of what files may be missing. A third option involves creating a chroot sandbox environment and use two cookies to track file changes in the filesystem as described here: http://labs.calyptix.com/openbsd-binary-patches-chroot.php Readers familiar with OpenBSD ports will notice that this cookie technique is borrowed from the make system in the OpenBSD ports tree. Hope this helps
Re: SOEKRIS - How to install MTR to a Flashdist image
Luis F Urrea wrote: By default if I am not mistaken, flashdist does not include the pkg_add binary and therefore for the chroot suggestion you would at least need to get the pkg_add binary into the flash image. You are correcet Luis F Urrea wrote: The technique used in the flashdist script for getting things installed uses `ldd` on a binary to find it's library dependencies and have them copied to the image. This is more likely to work at least for dinamically linked binaries which are fairly straightforward and in which you often do not need anymore files than the binary and shared libraries. You could use ldd as follows for wget as example: ldd /usr/local/bin/wget 2/dev/null | egrep 'rlib|rtld' | awk '{print $7}' \ |sort -u | xargs tar -cvf - | tar -C /mnt/flashdist-image -xpf - Where flashdist-image is the directory in which you have mounted the flashdist image Now, if you run ldd on the pkg_add binary you would get: ldd: /usr/sbin/pkg_add: not an ELF executable and I am not really sure why is that. Experts comments welcome here! First attampt didn't work, but I'll work with it some more. Luis F Urrea wrote: Another option may be to use the -B option from pkg_add to define the chrooted environment as the destination dir, but I can't confirm that it would work as expected. Tryed the -B option but I couldn't get that to work either Luis F Urrea wrote: For packages in which the structure of required files is more complex, daemons such as samba an the like, using ldd may not suffice and such programs may fail to execute mysteriously. In such cases, the ktrace(1) and kdump(1) may come in handy. ktrace followed by the filename will produce an output file named ktrace.out in the directory in which you run it. Then you need to use kdump command to inspect the previously generated ktrace.out, look for files that the program is attempting to open, particularly for the NAMI (name-to-inode) translation in order to get a clue of what files may be missing. A third option involves creating a chroot sandbox environment and use two cookies to track file changes in the filesystem as described here: http://labs.calyptix.com/openbsd-binary-patches-chroot.php Readers familiar with OpenBSD ports will notice that this cookie technique is borrowed from the make system in the OpenBSD ports tree. Hope this helps I'll read up on this. Thanks Luis, the help is very appreciated. Cheers Brad -- View this message in context: http://www.nabble.com/SOEKRIS---How-to-install-MTR-to-a-Flashdist-image-tp22636740p22668748.html Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: SOEKRIS - How to install MTR to a Flashdist image
Now, if you run ldd on the pkg_add binary you would get: ldd: /usr/sbin/pkg_add: not an ELF executable and I am not really sure why is that. Experts comments welcome here! That's because /usr/sbin/pkg_add is not an ELF executable. $ file /usr/sbin/pkg_add /usr/sbin/pkg_add: perl script text executable You need to install Perl to be able to use the pkg_add script. -- Floor Terra flo...@gmail.com www: http://brobding.mine.nu/
Re: SOEKRIS - How to install MTR to a Flashdist image
That's a good idea. Didn't think about doing that. However it still puts me in the same position as I'm in now. I don't believe that a full install of OBSD comes with all the packages. So I'd still have to figure out how to intall the packages I require. I like the flashdist images because it's very small and easy to configure. All I need to add to it is MTR, ttcp (or Iperf), UPTIME script and possibly LYNX but that's not critical. I'm just lost on the command structure. I've never isntalled packages before or installed them to an image file. Nick Holland wrote: How about just getting a 1G CF card, and doing a normal install? What do you gain by inflicting this pain upon yourself? http://www.openbsd.org/faq/faq14.html#flashmemBoot Nick. -- View this message in context: http://www.nabble.com/SOEKRIS---How-to-install-MTR-to-a-Flashdist-image-tp22636740p22646066.html Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: SOEKRIS - How to install MTR to a Flashdist image
Frothingdog.ca wrote: That's a good idea. Didn't think about doing that. However it still puts me in the same position as I'm in now. ??? I don't believe that a full install of OBSD comes with all the packages. So I'd still have to figure out how to intall the packages I require. If you don't know how to install packages on a NORMAL OpenBSD install, why are you even looking at a specialty machine like a Soekris? or a mutant variation like flashdist? I like the flashdist images because it's very small and easy to configure. Small, sure. today, though, 1G is small, and what's the point of trying to be smaller than a standard install anymore? I think you are dead wrong on the easy to configure part. Your asking here seems to indicate you agree... All I need to add to it is MTR, ttcp (or Iperf), UPTIME script and possibly LYNX but that's not critical. I'm just lost on the command structure. I've never isntalled packages before or installed them to an image file. Then I would suggest getting a normal computer, learning how to work with OpenBSD as intended, then load up your Soekris with OpenBSD and STILL use it as intended...and forget the flashdist and other mutant variants that once had a point but seem to be solutions in search of problems in these days when a 1G flash media is as small as one can get. Flash media is slow on writes, so when you screw things up and have to reinstall, it's a lot more frustrating on flash media, so learn what you are doing on a real computer. Nick Holland wrote: How about just getting a 1G CF card, and doing a normal install? What do you gain by inflicting this pain upon yourself? http://www.openbsd.org/faq/faq14.html#flashmemBoot Nick.
Re: SOEKRIS - How to install MTR to a Flashdist image
On Sat, Mar 21, 2009 at 07:42:31AM -0700, Frothingdog.ca wrote: I have the image mounted to /mnt/etc using vnconfig so I can modify the files before flashing the image (ie. boot.conf, rc, dhcpd.conf...etc). But I'd like to install a coupe packages into the image, such as MTR and TTCP. However I'm not quite sure how to do it or even where to start. I'm a newb to this. chroot(8) into the directory, then pkg_add(8) the packages via ftp, http, or from an nfs mount. Ciao, Kili -- Krankheit als Weg -- wie verarbeite ich meinen Kopfdurchschu_? -- Ansgar Stein