[leaf-user] DWL 520 rev E

2006-04-30 Thread Jim Munro
Can’t get a DWL520 rev E device to work in LRP.  I have the following 
modules loaded,  hostap.o and hostap_pci.o and packages hostapu.lrp and 
wireless.lrp.  The device appears in ip addr and the interface pings from 
the LRP box but can’t get the radio to pass data.

bering 2.4
debug
Apr 29 20:59:39 firewall kernel: hostap_crypt: registered algorithm 'NULL'
Apr 29 20:59:39 firewall kernel: wifi0: Original COR value: 0x0
Apr 29 20:59:40 firewall kernel: hostap_pci: assuming no Primary image in 
flash

Apr 29 20:59:40 firewall kernel: wifi0: test Genesis mode with HCR 0x1f
Apr 29 20:59:40 firewall kernel: wifi0: Original COR value: 0x0
Apr 29 20:59:40 firewall kernel: Readback test failed, HCR 0x1f write 00 e1 
a1 f

Apr 29 20:59:40 firewall kernel: wifi0: test Genesis mode with HCR 0x0f
Apr 29 20:59:40 firewall kernel: wifi0: Original COR value: 0xa1
Apr 29 20:59:40 firewall kernel: Readback test succeeded, HCR 0x0f
Apr 29 20:59:40 firewall kernel: wifi0: registered netdevice wlan0
Apr 29 20:59:40 firewall kernel: wlan0: cannot set RID fc02 (len=34) - no 
PRI f/w
Apr 29 20:59:40 firewall kernel: wlan0: could not set interface UP - no PRI 
f/w


/etc/network/interfaces
auto wlan0
iface wlan0 inet static
   address 10.0.0.1
   netmask 255.255.255.0
   broadcast 10.0.0.255
   fw_primary /etc/firmware/hostap/pm010102.hex
   fw_secondary /etc/firmware/hostap/rf010800.hex
   wireless_mode ad_hoc
   wireless_essid jim
   wireless_channel 5

ip addr
3: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000
   link/ether 00:20:18:2c:1f:59 brd ff:ff:ff:ff:ff:ff
   inet 192.168.1.10/24 brd 192.168.1.255 scope global eth0
4: wifi0: BROADCAST,MULTICAST mtu 1500 qdisc noop qlen 1000
   link/ieee802.11 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: wlan0: BROADCAST,MULTICAST mtu 1500 qdisc noop
   link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
   inet 10.0.0.1/24 brd 10.0.0.255 scope global wlan0

iwconfig
lono wireless extensions.
dummy0no wireless extensions.
eth0  no wireless extensions.
wifi0 IEEE 802.11-DS  ESSID:jim
 Mode:Master
 Encryption key:off
wlan0 IEEE 802.11-DS  ESSID:jim
 Mode:Master
 Encryption key:off
 Link Quality:0  Signal level:0  Noise level:0
 Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
 Tx excessive retries:0  Invalid misc:0   Missed beacon:0

_
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new 
MSN Search! Check it out!




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] DWL 520 rev E

2006-04-30 Thread Jim Munro
Can’t get a DWL520 rev E device to work in LRP.  I have the following 
modules loaded,  hostap.o and hostap_pci.o and packages hostapu.lrp and 
wireless.lrp.  The device appears in ip addr and the interface pings from 
the LRP box but can’t get the radio to pass data.

bering 2.4
debug
Apr 29 20:59:39 firewall kernel: hostap_crypt: registered algorithm 'NULL'
Apr 29 20:59:39 firewall kernel: wifi0: Original COR value: 0x0
Apr 29 20:59:40 firewall kernel: hostap_pci: assuming no Primary image in 
flash

Apr 29 20:59:40 firewall kernel: wifi0: test Genesis mode with HCR 0x1f
Apr 29 20:59:40 firewall kernel: wifi0: Original COR value: 0x0
Apr 29 20:59:40 firewall kernel: Readback test failed, HCR 0x1f write 00 e1 
a1 f

Apr 29 20:59:40 firewall kernel: wifi0: test Genesis mode with HCR 0x0f
Apr 29 20:59:40 firewall kernel: wifi0: Original COR value: 0xa1
Apr 29 20:59:40 firewall kernel: Readback test succeeded, HCR 0x0f
Apr 29 20:59:40 firewall kernel: wifi0: registered netdevice wlan0
Apr 29 20:59:40 firewall kernel: wlan0: cannot set RID fc02 (len=34) - no 
PRI f/w
Apr 29 20:59:40 firewall kernel: wlan0: could not set interface UP - no PRI 
f/w


/etc/network/interfaces
auto wlan0
iface wlan0 inet static
   address 10.0.0.1
   netmask 255.255.255.0
   broadcast 10.0.0.255
   fw_primary /etc/firmware/hostap/pm010102.hex
   fw_secondary /etc/firmware/hostap/rf010800.hex
   wireless_mode ad_hoc
   wireless_essid jim
   wireless_channel 5

ip addr
3: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000
   link/ether 00:20:18:2c:1f:59 brd ff:ff:ff:ff:ff:ff
   inet 192.168.1.10/24 brd 192.168.1.255 scope global eth0
4: wifi0: BROADCAST,MULTICAST mtu 1500 qdisc noop qlen 1000
   link/ieee802.11 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: wlan0: BROADCAST,MULTICAST mtu 1500 qdisc noop
   link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
   inet 10.0.0.1/24 brd 10.0.0.255 scope global wlan0

iwconfig
lono wireless extensions.
dummy0no wireless extensions.
eth0  no wireless extensions.
wifi0 IEEE 802.11-DS  ESSID:jim
 Mode:Master
 Encryption key:off
wlan0 IEEE 802.11-DS  ESSID:jim
 Mode:Master
 Encryption key:off
 Link Quality:0  Signal level:0  Noise level:0
 Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
 Tx excessive retries:0  Invalid misc:0   Missed beacon:0

_
MSN® Calendar keeps you organized and takes the effort out of scheduling 
get-togethers. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] Re DWL 520 rev E (some debug)

2006-04-30 Thread Jim Munro
Things seem to point to the cards as running only primary firmware.  Whats 
the next step?


firewall# hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'

NICID: id=0x8024 v1.0.0 (PRISM III Mini-PCI (AT24C08 compatible small serial 
flash))

PRIID: id=0x0015 v1.1.2
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available

dmesg
hostap_crypt: registered algorithm 'NULL'
hostap_pci: 0.4.7 - 2005-11-20 (Jouni Malinen [EMAIL PROTECTED])
PCI: Found IRQ 12 for device 00:0a.0
PCI: Sharing IRQ 12 with 00:07.5
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x15
hostap_pci: assuming no Primary image in flash - card initialization not 
completed

wifi0: test Genesis mode with HCR 0x1f
wifi0: Original COR value: 0x21
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 ce a1 ce
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0xa1
Readback test succeeded, HCR 0x0f
wifi0: Intersil Prism2.5 PCI: mem=0xee00, irq=12
wifi0: registered netdevice wlan0
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 312 bytes per conntrack
IPP2P v0.8.0 loading
Software Watchdog Timer: 0.05, timer margin: 60 sec
wlan0: cannot set RID fc02 (len=34) - no PRI f/w
wlan0: could not set interface UP - no PRI f/w
wifi0: enabling hostapd mode
wifi0: registered netdevice wlan0ap
wlan0ap: could not set interface UP - no PRI f/w
prism2_download: dl_cmd=4 start_addr=0x003f num_areas=3
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0x0
Readback test succeeded, HCR 0x0f
prism2_hw_init: initialized in 0 ms
wifi0: NIC: id=0x8000 v0.0.1
wifi0: PRI: id=0x15 v1.1.2
Could not get RID for component STA
wifi0: Failed to read STA f/w version - only Primary f/w present
prism2_download: dl_cmd=6 start_addr=0x003f num_areas=3
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0x0
Readback test succeeded, HCR 0x0f
prism2_hw_init: initialized in 0 ms
wifi0: NIC: id=0x8024 v1.0.0
wifi0: PRI: id=0x15 v1.1.2
Could not get RID for component STA
wifi0: Failed to read STA f/w version - only Primary f/w present
VFS: Can't find a Minix or Minix V2 filesystem on device 02:2c.
VFS: Can't find a Minix or Minix V2 filesystem on device 03:01.
prism2_download: dl_cmd=4 start_addr=0x003f num_areas=3
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0x0
Readback test succeeded, HCR 0x0f
prism2_hw_init: initialized in 0 ms
wifi0: NIC: id=0x8000 v0.0.1
wifi0: PRI: id=0x15 v1.1.2
Could not get RID for component STA
wifi0: Failed to read STA f/w version - only Primary f/w present
prism2_download: dl_cmd=6 start_addr=0x003f num_areas=3
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0x0
Readback test succeeded, HCR 0x0f
prism2_hw_init: initialized in 0 ms
wifi0: NIC: id=0x8024 v1.0.0
wifi0: PRI: id=0x15 v1.1.2
Could not get RID for component STA
wifi0: Failed to read STA f/w version - only Primary f/w present
wlan0: CMD=0x0030 = res=0x7f, resp0=0x0001

The results of manually downloading the firmware are:

firewall# prism2_srec -gs wlan0 /etc/firmware/hostap/pm010102.hex
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)


Verifying update compatibility and combining data:
Plugging PDR 0400 (NIC configuration): ram16=1 pci=1 (07 00)
OK.

Downloading to volatile memory (RAM).
OK.

firewall# prism2_srec -gp wlan0 /etc/firmware/hostap/pm010102.hex
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)

ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
STAID not available (maybe running PRI-only)
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available

Verifying update compatibility and combining data:
OK.

Downloading to volatile memory (RAM).
OK.


firewall# prism2_srec -rp wlan0 /etc/firmware/hostap/sf010800.hex
srec summary for sf010800.hex
Component: 0x001f 1.8.0 (station firmware)

ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
STAID not available (maybe running PRI-only)
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available

Verifying update compatibility and combining data:
NICID was not found from the list of supported platforms.
Incompatible update data.
firewall#

_
Powerful Parental Controls Let your child discover the best the Internet has 
to offer.  
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

[leaf-user] Re: DWL 520 rev E work around

2006-05-01 Thread Jim Munro

Looks like the trouble traces to grep(ing) past a certain byte offset in
/proc/net/hostap/$1/debug.  As a work around I created a directory wlan0 in
/etc/firmware/hostap and modified some lines in 
/etc/network/if-pre-up.d/hostap-utils.

Also had to tweak grep line in load_secondary from pri_only=1 to pri_only=0

Could the grep thing be a bug in the OS.  Not a pretty solution but the NIC 
loads the firmware OK and radio passes data.


Likely a better coding fix can be found.

load_primary()
{
   echo load primary
   if [ ! -d /proc/net/hostap/$1 ]; then
   echo Host AP driver data for device $1 not found in 
procfs.

   return 1
   fi

cp /proc/net/hostap/$1/debug /etc/firmware/hostap/$1/debug

   if grep -q no_pri=1 /etc/firmware/hostap/$1/debug; then
   echo Downloading primary firmware $2 to interface $1
   $PRISM2_SREC -gs $1 $2
   $PRISM2_SREC -gp $1 $2
   fi

   return 0
}

load_secondary()
{
   echo load secondary 
   if grep -q pri_only=0 /etc/firmware/hostap/$1/debug; then
   echo Downloading secondary (station) firmware $2 to 
interface $

   $PRISM2_SREC -rp $1 $2
   fi

   return 0
}



From: Jim Munro [EMAIL PROTECTED]
To: leaf-user@lists.sourceforge.net
CC: [EMAIL PROTECTED]
Subject: Re: [leaf-user] Re DWL 520 rev E some progress
Date: Mon, 01 May 2006 22:29:58 +


Hi Eric,

Thanks for the help.  I have been able to get the IF up manually with 
prism2_srec using
pm010102.hex and rf010800.hex and then doing an ifup wlan0 (also passes 
data :).  It appears that these lines of code in 
/etc/network/if-pre-up.d/hostap-utils
may not be executing.  I stuck some debug in the script and the download 
primary and secondary procedures are being entered. wlan0 also appears in 
/proc/net/hostap/


--if grep -q no_pri=1 /proc/net/hostap/$1/debug; then
   echo Downloading primary firmware $2 to interface $1
   $PRISM2_SREC -gs $1 $2
   $PRISM2_SREC -gp $1 $2

--if grep -q pri_only=1 /proc/net/hostap/$1/debug; then
   echo Downloading secondary (station) firmware $2 to 
interface $

   $PRISM2_SREC -rp $1 $2



From: Eric Spakman [EMAIL PROTECTED]
To: Jim Munro [EMAIL PROTECTED]
CC: leaf-user@lists.sourceforge.net
Subject: Re: [leaf-user] Re DWL 520 rev E (some debug)
Date: Mon, 1 May 2006 09:16:13 +0200 (CEST)

Hello Jim,

It indeed looks like the primary firmware is loading fine but there is a
problem with the station firmware. Are you sure the station firmware is
not corrupted?



_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] madwifi and wpa and Thanks!

2006-05-07 Thread Jim Munro
Trying to get wpa to work with the madwifi drivers.  I have been able to get 
the madwifi drivers to work with my NIC and have verifiyed WEP and the 
master (ap) mode.  When I load and configure the hostapd daemon I notice 
there is no ath0ap device.  Does the daemon not work with some madwifi 
devices?  I have tested wpa using a differnet NIC and verifyed the config.


Thanks Eric and Charles for the DWL 520 rev e bug fix.

# hostapd configuration file 
##

# Empty lines and lines starting with # are ignored

# AP netdevice name (without 'ap' prefix, i.e., wlan0 uses wlan0ap for
# management frames); ath0 for madwifi
interface=ath0

# In case of madwifi driver, an additional configuration parameter, bridge,
# must be used to notify hostapd if the interface is included in a bridge. 
This

# parameter is not used with Host AP driver.
#bridge=br0

# Driver interface type (hostap/wired/madwifi/prism54; default: hostap)
driver=madwifi

..

/etc/shorewall/interfaces
#
#ZONE   INTERFACE   BROADCAST   OPTIONS
neteth0192.168.1.255
loc ath010.0.0.255
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

...

# /etc/network/interfaces -- configuration file for LEAF network

auto ath0
iface ath0 inet static
   address 10.0.0.1
   netmask 255.255.255.0
   broadcast 10.0.0.255
   madwifi-base wifi0
   wireless_mode master
   wireless_essid jim
   wireless_channel 5

.

/etc/modules

hostap
hostap_crypt_ccmp
hostap_crypt_tkip
hostap_crypt_wep
hostap_pci
wlan
wlan_scan_sta
wlan_scan_ap
wlan_wep
wlan_ccmp
wlan_xauth
wlan_acl
ath_hal
ath_rate_sample
ath_pci

_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.




leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] madwifi and wpa and Thanks!

2006-05-07 Thread Jim Munro


Thanks! I added wlan_tkip and ath_pci autocreate=none to /etc/modules and 
success :)


Sometimes another pair of eyes helps...

Jim



There are 2 documents on the madwifi site that describes the hostapd setup:
http://madwifi.org/wiki/UserDocs/WPA_PSK_on_Both_Ends  (the Now do the AP
side part)
and
http://madwifi.org/wiki/UserDocs/HostAP

I followed the last document to setup hostapd on my atheros NIC.
The hostapd should support all cards that are suported by madwifi AFAIK.

This are the modules I have loaded:
# Atheros
wlan
wlan_wep
wlan_scan_ap
wlan_tkip
wlan_xauth
ath_hal
ath_rate_sample
ath_pci autocreate=none

I think you missed the wlan_tkip module.
If you have an Atheros based NIC, you don't have to load the hostap 
modules.


Eric


 Trying to get wpa to work with the madwifi drivers.  I have been able to
 get the madwifi drivers to work with my NIC and have verifiyed WEP and 
the
  master (ap) mode.  When I load and configure the hostapd daemon I 
notice

  there is no ath0ap device.  Does the daemon not work with some madwifi
 devices?  I have tested wpa using a differnet NIC and verifyed the
 config.

 Thanks Eric and Charles for the DWL 520 rev e bug fix.


 # hostapd configuration file
 ##
 # Empty lines and lines starting with # are ignored


 # AP netdevice name (without 'ap' prefix, i.e., wlan0 uses wlan0ap for
 # management frames); ath0 for madwifi
 interface=ath0

 # In case of madwifi driver, an additional configuration parameter,
 bridge, # must be used to notify hostapd if the interface is included in 
a

 bridge. This
 # parameter is not used with Host AP driver.
 #bridge=br0


 # Driver interface type (hostap/wired/madwifi/prism54; default: hostap)
 driver=madwifi

 ..


 /etc/shorewall/interfaces
 #
 #ZONE   INTERFACE   BROADCAST   OPTIONS
 neteth0192.168.1.255 loc ath010.0.0.255
 #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE


 ...


 # /etc/network/interfaces -- configuration file for LEAF network


 auto ath0 iface ath0 inet static address 10.0.0.1 netmask 255.255.255.0
 broadcast 10.0.0.255 madwifi-base wifi0 wireless_mode master 
wireless_essid

 jim wireless_channel 5

 .


 /etc/modules


 hostap hostap_crypt_ccmp hostap_crypt_tkip hostap_crypt_wep hostap_pci 
wlan
 wlan_scan_sta wlan_scan_ap wlan_wep wlan_ccmp wlan_xauth wlan_acl 
ath_hal

 ath_rate_sample ath_pci



_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.




leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] USB printserver package?

2006-07-29 Thread Jim Munro
Is there any Bering uClibc package similar to function to P9100.lrp for USB 
type printers?

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] help with p9100.lrp

2011-04-22 Thread Jim Munro





I can’t get the p9100 package to print.  It worked fine in 3.1.  Here are some 
log messages.

 From lpr.log

Apr 23 03:07:57 vfirewall2 p9100d[2976]: Connection from :::192.168.1.2 
port 6206 acceptedApr 23 03:07:57 vfirewleaf-user@lists.sourceforge.netall2 
p9100d[2976]: /dev/lp0: No such file or directoryApr 23 03:07:57 vfirewall2 
p9100d[2976]: /dev/lp0: No such file or directory, will try opening later

 

From /etc/modules 

# Parallel port support

parport

parport_pc

parport_serial

#lp

 

I cant find a lp.ko module anywhere and there doesn’t appear
to be a /dev/lp0 entry.

  
--
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] hdsupp

2013-09-20 Thread Jim Munro
Hi all,



   It seems that loading hdsupp in leaf.cfg breaks selection f)Find and 
load modules for hardware in the configuration menu. Noticed when I did 
an upgrade from a pre 4.3 release to 5.0.1. Causes tar: write error: No 
space left on device.  In the end, I discovered I no longer need to use 
this package.



Jim

  
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] hdsupp - issue solved

2013-09-21 Thread Jim Munro
Thanks Andrew!.  Increasing syst_size to 60M solved it.  Looking back I guess I 
really had 2 issues, this one and the fact that I had left an internal compact 
flash in the PC without completely disabling it in the BIOS.  The PC was booted 
from a thumb drive and the hdsupp package(s) was loaded by leaf.cfg on the 
thumb drive.  Once hdsupp loaded,  leaf.cfg was read from the internal CF 
causing packages to load that were not specified in leaf.cfg on the thumb 
drive.  This lead to a lengthy troubleshooting session.  It's all tidied up 
now.  Tip - remove or completely disable internal storage that you not longer 
need.

Jim
  
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] raspberry pi serial console

2015-03-14 Thread Jim Munro
Hi,

   I am having some problems logging into the the serial console of a 
raspberry pi.  I have connected a usb to serial dongle to the raspberry 
pi gpio pins.  I have a hyperterm
session running at 115200 8 n 1 on my laptop.  I have edited cmdline.txt 
to read:

dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 
elevator=deadline LEAFCFG=/dev/mmcblk0p1:vfat init=/linuxrc 
root=/dev/ram0 rw rootwait reboot=bios

I have verified /etc/inittab to read:
# /etc/inittab: configuration.

# Boot-time system configuration/initialization script.
::sysinit:/etc/init.d/rcS
::wait:/etc/init.d/rc 2

# /sbin/getty invocations for selected ttys
#
# Format:
#  id::action:process
tty1::respawn:/sbin/getty 115200 tty1
tty2::respawn:/sbin/getty 115200 tty2

# Example how to put a getty on a serial line (for a terminal)
#
#ttyS0::respawn:/sbin/getty -L ttyS0 19200 vt100
#ttyS1::respawn:/sbin/getty -L ttyS1 19200 vt100

# Example how to put a getty on a modem line.
#
#ttyS3::respawn:/sbin/mgetty -x0 -s 57600 ttyS3

# Stuff to do when restarting the init process
::restart:/sbin/init

# Stuff to do before rebooting
#::ctrlaltdel:/sbin/reboot
::shutdown:/etc/init.d/rc 0

/etc/securetty :
# /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).
#
# Include ttyp0, ttyp1, etc to allow telnet access. *NOT RECOMMENDED*
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
ttyS0
ttyS1

All I get in the hyperterm session is :
Uncompressing Linux  done,  booting the kernel.
Can anyone spot anything obvious why I can't login?

Thanks
Jim
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] Raspberry Pi files

2015-03-06 Thread Jim Munro
Hi

The only raspberry pi set of files I can get to work is 
Bering-uClibc-5.1-alpha1.  Looks good so far but I am still waiting for 
a usb to ethernet adapter to arrive in order to test further. The other 
releases since then seem appear to have problems. When I go to edit the 
config files, I get a screen with unintelligble symbols and letters.  I 
follow the same steps building the sdhc ram.  Nothing seems out of the 
ordinary on the boot screen.

A bit of an update.  If I quit to a shell prompt I can edit the various 
config files manually with nano.  Invoking the editor from the menu 
screens seems to be the issue.

Does anyone have ideas or suggestions?
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] Rasberry Pi files

2015-03-07 Thread Jim Munro
Thanks alot KP.  It was just as you suggested.

cheers Jim
--
Am Samstag, 7. März 2015, 01:53:29 schrieb Jim Munro:
 Hi

 The only raspberry pi set of files I can get to work is
 Bering-uClibc-5.1-alpha1.  Looks good so far but I am still waiting for
 a usb to ethernet adapter to arrive in order to test further. The other
 releases since then seem appear to have problems. When I go to edit the
 config files, I get a screen with unintelligble symbols and letters.  I
 follow the same steps building the sdhc ram.  Nothing seems out of the
 ordinary on the boot screen.

 A bit of an update.  If I quit to a shell prompt I can edit the various
 config files manually with nano.  Invoking the editor from the menu
 screens seems to be the issue.

 Does anyone have ideas or suggestions?

HI;

first of all raspberry pi support is broken since some version after 5.1-
alpha1; it will be fixed and revived with 5.2-beta2, (and only for 5.2, sorry).

To fix your issue, you have to change the default editor in /etc/profiles from
e3ne to nano, logout and login again tosee if that helped. If so don't forget
to save your configuration.

hth kp

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now.http://goparallel.sourceforge.net/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request --http://leaf-project.org/

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] knockd tweaks

2015-10-25 Thread Jim Munro

Hi everyone

Had some trouble with knockd and the current version of shorewall. My 
problem was with 5.2 and Raspberry pi but likely applies to other 
versions also
So here are the changes I made for /etc/knockd configuration.


[options]
 logfile = /var/log/knockd.log

# example for opening www via knockd
# replace ppp0 with your external interface!
# to use it:
# - include ipset package in leaf.cfg
# - create a new zone knock in shorewall/zones containing
#   knock:net   ipv4dynamic_shared  # don't forget to uncomment
# - create a dynamic host in shorewall/hosts file containing
#   knockppp0:dynamic  # don't forget to uncomment
# - add a rule to the shorewall/rules file (for ssh)
# ACCEPT knock fwtcp  80  # don't forget to uncomment
# note changes to command line below
# - you must restart knockd after the ppp0 interface comes up
# I put it in a script file /etc/ppp/if-up

[openWWW]
 sequence= 7000,8000,9000
 seq_timeout = 5
 command = /sbin/shorewall add knock %IP%
 tcpflags= syn
#
[closeWWW]
 sequence= 9000,8000,7000
 seq_timeout = 5
 command = /sbin/shorewall delete knock %IP%
 tcpflags= syn

--

  /etc/ppp/if-up

#!/bin/sh
svi knockd restart
esac
exit0

I chmod'd it a+x


--

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] p9100.lrp troubles

2017-02-15 Thread Jim Munro
Hi,

I'm using the p9100.lrp module on leaf bering 5.2.6.  Nothing will print 
to the parallel port on the leaf box.  Getting this error in syslog when 
I print from the network:

Feb 16 03:19:57 firewall p9100d[10300]: /dev/lp0: No such file or directory, 
will try opening late

lp0 does not appear in the /dev directory.  I do not have anything 
configured in modules.lrp specific to the parallel port.  I thought
find and load modules for hardware would take care of it.  The parallel 
port is enabled in bios and seems to be detected by the OS.   It does 
not look like there is anything in /lib/modules that might pertain to it.

Help anyone?
Thanks in advance
Jim


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] P9100.lrp

2017-02-16 Thread Jim Munro
Thanks Andrew,

I loaded an old release and discovered I failed to include lp in modules.lrp.  
My mistake and I should have read the documentation more closely.  Its working 
fine now.

Thanks
Jim
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/