Re: [Soekris] Soekris-tech Digest, Vol 76, Issue 8

2010-06-19 Thread William Estrada
You could write a simple php or bash script.


soekris-tech-requ...@lists.soekris.com wrote:

 Message: 1
 Date: Sat, 19 Jun 2010 03:07:58 -0400
 From: oktay sirrikoktay.sir...@gmail.com
 Subject: [Soekris] soekris net45xx communicate web interface how to?
 To: soekris-tech@lists.soekris.com
 Message-ID:
   aanlktinhhiqd9o0cw58yhocizn2e600kjfrhcbk5g...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 Hi,
 I am controlling  via SSH or serial terminal Error Led with  echo command.

 echo 1  : Error Led ON
 echo 0  ... : Error Led OFF

 I also installed apache server and upload test index.html page.
 I want to control seokris ne45xx via web interface. Can i do that?

 For example; i designed 2 button  index page.  one off them LED ON , other
 one LED OFF button.
 How can control soekris  using this buttons (web interface)

 Thnaks

 Oki
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.soekris.com/pipermail/soekris-tech/attachments/20100619/910cd4ca/attachment-0001.html

 --

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


 End of Soekris-tech Digest, Vol 76, Issue 8
 ***




-- 
William Estrada
Mt Umunhum, CA, USA
HTTP://64.124.13.3 ( Mt-Umunhum-Wireless.net )
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] powering a net5501 from a car battery

2010-02-28 Thread William Estrada
Philip,

   I run my 4801 and LinkSys wrt54gs directly off a battery string. The 
last two
winters have been tough on my system. The bat voltage has go down to
10VDC and they all turn off until the sun came out. All survived except one
2 volt cell. The 4801 needed to be replugged before it started again.

   Nick is right about getting the battery too low, it will destroy 
them. Use the
deep cycle ones.

   The only other problem I had wad the file system got corrupted on
the hard drive.

   I am very satisfied with my Soekris experience.

   However a 4801 in not a 5501!  Just the same company.

 Message: 5
 Date: Sat, 27 Feb 2010 10:18:52 +
 From: Philips...@christiantena.net
 Subject: Re: [Soekris] powering a net5501 from a car battery
 To:soekris-tech@lists.soekris.com
 Message-ID:4b88f18c.4080...@christiantena.net
 Content-Type: text/plain; charset=iso-8859-1

 I understand that running the battery that low might destroy it, but
 that isn't my question.
 My question is, would it damage the Soekris?
 or will the Soekris just turn itself off and ignore the increasingly low
 input voltage.
 I have no intention of running the battery that low, but say I go on
 holiday for three weeks and the fuse blows on the battery charger.  I
 don't mind returning to a dead battery but I don't want a damaged
 Soekris; they're too expensive.

 thanks, Philip


-- 
William Estrada
Mt Umunhum, CA, USA
HTTP://64.124.13.3 ( Mt-Umunhum-Wireless.net )

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


[Soekris] X windows on a 4801

2010-02-24 Thread William Estrada
Jed,

   Using X-windows on a 4801 does have some advantages.  I used it to
run gparted to rebuild my hard drive without losing data. I installed
gparted and then started an X manager on my PC in another VT.

   The process is not quick but it does work. I posted this link before
but in case you missed it:

   http://64.124.13.3/hacks/multiple_wm.html

   If it is not clear, please Email me and I can review it to make it
more understandable.

 I don't think the X _server_ software would be of much use on a Seokris box, 
 not
 because of horsepower, but because of lack of KVM.  No reason you couldn't 
 run X
 client software (e.g. xterm) though.  Although it seems like HTTP[S] based
 interfaces are much more common these days.

 -Jed


-- 
William Estrada
Mt Umunhum, CA, USA
HTTP://64.124.13.3 ( Mt-Umunhum-Wireless.net )
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Debian install on 4801, eth0 won't work.

2010-02-21 Thread William Estrada
Jan, Ted, List,

This has been an interesting project. I needed to build a new image for 
my 4801 with limited interruptions of server. That did not happen, it
would have been quicker to that the server offline and use it to rebuild
the system. The process was a learning experience and something I will
use in the future.

To start with I used this link:
http://www.linuxvillage.ca/support/soekris4801.html
It worked to a point.  The drivers for the Soekris did not get installed.
I found that I needed to install x11-common to get them, that worked.
Now to the Udev stuff. Have not yet figured it out, I will post the
fix when I get it.
Another problem I am seeing is a very annoying message taht make the
serial console useless. Over and over:
  tail /var/log/kern.log
Feb 20 18:00:01 server kernel: [  949.541144] Info fld=0x0
Feb 20 18:00:01 server kernel: [  949.541145] sd 0:0:0:0: [sda] Add. 
Sense: No additional sense information
Feb 20 18:00:01 server kernel: [  949.555006] sd 0:0:0:0: [sda] Sense 
Key : No Sense [current]
Feb 20 18:00:01 server kernel: [  949.555010] Info fld=0x0
Feb 20 18:00:01 server kernel: [  949.555012] sd 0:0:0:0: [sda] Add. 
Sense: No additional sense information
Feb 20 18:00:07 server kernel: [  955.007900] sd 0:0:0:0: [sda] Sense 
Key : No Sense [current]
I think this is be cause I am booting from a USB HDD and maybe fixable
with a kernel option?

All in all, it is mostly there.

Thanks again to all for your time.




Jan Ceuleers wrote:
 William Estrada wrote:
 I'm new to Debian, how do I install this driver??

 William,

 (Re-posting to the list as well. Can the list owner please automatically add 
 an appropriate Reply-To header?).

 I agree with Andy, you may have been bitten by the persistent net rules (put 
 in place by udev and then applied from then on).

 A few things to do:

 1. find out which ethernet interfaces you have and which drivers are attached 
 to them as follows:

 # ls -l /sys/class/net/eth*/device/driver

 2. if, as Andy and I suspect, you can find all three of your interfaces but 
 with unexpected names (such as eth{345}), then you indeed have the udev 
 problem described above. The idea of these udev rules is to guarantee that 
 the names of your network interfaces will always be the same, regardless of 
 boot order (particularly, regardless of the order in which network device 
 drivers are loaded, as this is where races might occur or changes might be 
 made from one kernel release to the next).

 Inspect the file /etc/udev/rules.d/70-persistent-net.rules . You will find, 
 for each of the network interfaces that this disk image has ever seen, a 
 binding of the MAC address to a device name. You can either manually edit 
 this (so that the rule for your eth0's MAC address actually maps it to eth0 
 rather than to eth3 or whatever), or just delete all of the rules that are 
 currently wrong.

 Just deleting the rules works, because those rules are automatically 
 generated upon boot, when the system finds a network interface with a MAC 
 address for which no rule exists yet.

 3. if in fact you don't find any network interfaces then you may indeed have 
 a driver problem. Find out whether the driver exists on your system as 
 follows:

 # find /lib/modules/`uname -r` -name natsemi.ko

 Also verify that it's not blacklisted:

 # cd /etc/modprobe.d
 # fgrep -r natsemi *

 Hope this helps.

 Jan



-- 
William Estrada
Mt Umunhum, CA, USA
HTTP://64.124.13.3 ( Mt-Umunhum-Wireless.net )
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Debian install on 4801, eth0 won't work.

2010-02-20 Thread William Estrada
Ted Phelps wrote:

Ted,

   The port is OK, it works with the currect OS ( FC5 ).

   I'm new to Debian, how do I install this driver??

 Hi William,

 William Estrada writes:
 I have just built a Debian Lenny image for my 4801, which is currently
 running FC5. It boots but will not bring up eth0, I am using the
 serial console.

 I have tested the build with my laptop and eth0 works just fine.

 Did i miss a module for the 4801?? Any ideas??

 The uses the 'natsemi' driver (CONFIG_NATSEMI).

 Is it possible that the port is damaged?  Have you tried eth1 or eth2?

 Cheers,
 -Ted



-- 
William Estrada
Mt Umunhum, CA, USA
HTTP://64.124.13.3 ( Mt-Umunhum-Wireless.net )
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net5501, can't install pfsense, both serial ports not working

2009-08-25 Thread William Estrada

   Now I have another problem, it seems my serial ports (both) on the soekris
   are not working.
   
   I plugged in the null cable to my MB (ASUS P5Q Deluxe) and into the 5501,
   powered on the soekris, but nothing is showing up in Putty.
   
Are you sure you want to use putty?? I use HyperTerminal for serial 
connections on
Winders. I might be mistaken but I though Putty was for EtherNet 
connection??

-- 
William Estrada
mrumun...@popdial.com
Mt-Umunhum-Wireless.net ( http://64.124.13.3 )
Ymessenger: MrUmunhum


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


Re: [Soekris] Soekris] NET-4801 to NET-5501 reiserfs /dev/hda3 not working

2009-04-11 Thread William Estrada
Does the box boot from the Flash? Can you install Grub on the flash
to look at what drives are been seen?


 Date: Fri, 10 Apr 2009 06:08:53 -0700
 From: AA6QN aa...@aa6qn.sytes.net
 Subject: [Soekris] NET-4801 to NET-5501 reiserfs /dev/hda3 not working


 What is interesting is that the initial LiveCD build that is installed
 with the Stage3 tarball (I think its 2.6.19-gentoo-r5) will see the
 /dev/hda3 but does not load the natsemi ethernet interfaces. I did boot
 to this kernel and tried to rebuild the latest 2.6.28 kernel using
 genkernel in the 5501 environment (the build did complete) but still no
 /dev/hda3 while trying to reboot the latest kernel.

 Putting the hd back into the 4801 and it boots just fine to the latest
 Gentoo kernel.

 Ideas ?

 Thank you in advance, JohnF
   

-- 
William Estrada
mrumun...@popdial.com
Mt-Umunhum-Wireless.net ( http://64.124.13.3 )
Ymessenger: MrUmunhum


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


Re: [Soekris] PCMCIA that supports 'Master Mode'?

2008-12-26 Thread William Estrada
Paul,

  It appears that the V3 model doesn't support Linux? What version are you
using?? And what OS?

Paul Bartell wrote:
 I can suggest from experience the Zyxel G102. It is atheros based, and
 works quite well. (hopefully they havent switched chipsets)

 On Fri, Dec 26, 2008 at 12:09 PM, William Estrada mrumun...@popdial.com 
 wrote:
   
 Hi group,

  I'm trying to get my laptop to run a WiFi AP. I need a PCMCIA Card
 that supports
 Mater Mode to fo that.  Does anyone know of a site that I could get this
 type of
 info from??

  Thanks for your time.

 --
 William Estrada
 mrumun...@popdial.com
 Mt-Umunhum-Wireless.net ( http://64.124.13.3 )
 Ymessenger: MrUmunhum


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

 



   


-- 
William Estrada
mrumun...@popdial.com
Mt-Umunhum-Wireless.net ( http://64.124.13.3 )
Ymessenger: MrUmunhum


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


[Soekris] lm_sensors-detect on 4801 fails

2008-09-14 Thread William Estrada
Hi group,

  I'm trying to install lm_sensors on my 4801 running FC5. I get the 
following
error will running sensors-detect:
 [EMAIL PROTECTED] lm_sensors-3.0.2]# sensors-detect
 # sensors-detect revision 5249 (2008-05-11 22:56:25 +0200)

 This program will help you determine which kernel modules you need
 to load to use lm_sensors most effectively. It is generally safe
 and recommended to accept the default answers to all questions,
 unless you know what you're doing.

 We can start with probing for (PCI) I2C or SMBus adapters.
 Do you want to probe now? (YES/no):
 Probing for PCI bus adapters...
 Use driver `scx200_acb' for device :00:12.0: SC1100 Bridge

 We will now try to load each adapter module in turn.
 Load `scx200_acb' (say NO if built into your kernel)? (YES/no):
 FATAL: Module scx200_acb not found.
 Loading failed... skipping.
 If you have undetectable or unsupported I2C/SMBus adapters, you can have
 them scanned by manually loading the modules before running this script.

 We are now going to do the I2C/SMBus adapter probings. Some chips may
 be double detected; we choose the one with the highest confidence
 value in that case.
 If you found that the adapter hung after probing a certain address,
 you can specify that address to remain unprobed.

 Some chips are also accessible through the ISA I/O ports. We have to
 write to arbitrary I/O ports to probe them. This is usually safe though.
 Yes, you do have ISA I/O ports even if you do not have any ISA slots!
 Do you want to scan the ISA I/O ports? (YES/no):
 Probing for `National Semiconductor LM78' at 0x290...   No
 Probing for `National Semiconductor LM78-J' at 0x290... No
 Probing for `National Semiconductor LM79' at 0x290...   No
 Probing for `Winbond W83781D' at 0x290...   No
 Probing for `Winbond W83782D' at 0x290...   No
 Probing for `IPMI BMC KCS' at 0xca0...  No
 Probing for `IPMI BMC SMIC' at 0xca8... No

 Some Super I/O chips may also contain sensors. We have to write to
 standard I/O ports to probe them. This is usually safe.
 Do you want to scan for Super I/O sensors? (YES/no):
 Probing for Super-I/O at 0x2e/0x2f
 Trying family `National Semiconductor'...   Yes
 Found `Nat. Semi. PC87366 Super IO Fan Sensors' 
 (but not activated)
 Found `Nat. Semi. PC87366 Super IO Voltage Sensors' Success!
 (address 0x6620, driver `pc87360')
 Found `Nat. Semi. PC87366 Super IO Thermal Sensors' Success!
 (address 0x6640, driver `pc87360')
 Probing for Super-I/O at 0x4e/0x4f
 Trying family `National Semiconductor'...   No
 Trying family `SMSC'... No
 Trying family `VIA/Winbond/Fintek'...   No
 Trying family `ITE'...  No

 Some south bridges, CPUs or memory controllers may also contain
 embedded sensors. Do you want to scan for them? (YES/no):
 Silicon Integrated Systems SIS5595...   No
 VIA VT82C686 Integrated Sensors...  No
 VIA VT8231 Integrated Sensors...No
 AMD K8 thermal sensors...   No
 AMD K10 thermal sensors...  No
 Intel Core family thermal sensor... No
 Intel AMB FB-DIMM thermal sensor... No

 Now follows a summary of the probes I have just done.
 Just press ENTER to continue:

 Driver `pc87360' (should be inserted):
   Detects correctly:
   * ISA bus, address 0x6620
 Chip `Nat. Semi. PC87366 Super IO Voltage Sensors' (confidence: 9)
   * ISA bus, address 0x6640
 Chip `Nat. Semi. PC87366 Super IO Thermal Sensors' (confidence: 9)

 Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
 Starting lm_sensors: pc87366-isa-6620: Can't access procfs/sysfs file 
 for writing;
 Run as root?
[FAILED]
  I am running as root.  Any ideas?

-- 
William Estrada
[EMAIL PROTECTED]
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum


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


Re: [Soekris] net4801 + openbsd + serial device

2008-04-27 Thread William Estrada
Jacco,

  Looking at the solget script, it uses '/dev/tty/1' as the input/output 
device, have you tried this?

  Also, you could use a serial breakout box to see any traffic.

  You should include line 322 in your test.sh.

# Configure serial port
stty -hupcl -clocal ignbrk -icrnl -ixon -opost -onlcr -isig -icanon
-iexten -echo -echoe -echok -echoctl -echoke 9600 -crtscts $PORT

Please keep us posted about your progress.

-- 
William Estrada
[EMAIL PROTECTED]
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum

 Message: 1
 Date: Sun, 27 Apr 2008 12:20:45 +0200
 From: jacco [EMAIL PROTECTED]
 Subject: [Soekris] net4801 + openbsd + serial device
 To: soekris-tech@lists.soekris.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

 Hello,

 I recently bought an net4801 for using it to graph the output with  
 RRDTool for my solarpanel converter. This converter uses an DB-9 based  
 serial device, for talking to the unit itself. This works under  
 Windows XP using an usb serial converter on 9600baud. Now I want to  
 use the unit with the soekris, but Whatever I try, somehow I can't get  
 the software (shell script) to talk to the serial device

 More info:

 http://www.mastervolt.com/download.php?id=3018

 http://sourceforge.net/projects/solget/

 What I need, is a way to check what tty the device is on, and if it  
 does sent signals, and at what rate.

 The part of the graphing script communicating with the device is this:

 printf \x11\x00\x00\x00\xB6\x00\x00\x00\xC7  /dev/tty
 dd if=/dev/tty of=/root/tmp/output bs=1 count=31 

 The result I get:

 [EMAIL PROTECTED] 36 ~# ./test.sh
 x11x00x00x00xB6x00x00x00xC7
 [EMAIL PROTECTED] 37 ~# dd: /dev/tty: Input/output error
 1+0 records in
 1+0 records out
 1 bytes transferred in 6.744 secs (0 bytes/sec)

 --
 jacco

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


Re: [Soekris] Lightweight UPS

2007-07-04 Thread william estrada
Bill,

   The simplest power system for a 4801 is a battery bank.  Connect up has many
gel cells as you have and connect them to a trickle charger.  I have been
running my 4801 from batteries for more than 3 years with no power problems.
I have had other problem like a drive going bad.

   I am very impressed with the service of my 4801.  Pain in the ass to install
the OS, FC5.  The PXE install took 3 hours.  The serial console install is not
very well supported but it did work.

-- 
William Estrada
[EMAIL PROTECTED]
Mt-Umunhum-Wireless.net ( 64.124.13.3 )

 Message: 4
 Date: Wed, 04 Jul 2007 13:14:37 +0200
 From: Bill Maas [EMAIL PROTECTED]
 Subject: [Soekris] Lightweight UPS
 To: soekris-tech@lists.soekris.com soekris-tech@lists.soekris.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain
 
 
 Hi,
 
 here's a question that's been in my mind for a while now: is there some
 widely available toy or other mass-produced item that happens to have an
 excellent loader and batteries which can easily be ripped out and could
 serve as a lightweight UPS for my 2 Soekris boxes? Must be able to feed
 while loading of course. All available UPS systems seem to be in the kW
 range. One of the reasons why I run these Soekris boxes is their 3-10 W
 power consumption, so kW's are way out of range, as are the prices of
 these things. [Links to] loader/feeder circuit diagrams also welcome.
 
 
 Bill


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