Re: [oselas] iptables-1.4.8 required mdsum

2015-03-16 Thread ian c
Hi Juergen,

I did not solve the problem with iptables issue. I only solve the goal to make 
the wireless server.

As far as the last thing I did on my system is to delete the /dev/random and 
rename the /dev/urandom to /dev/random because I saw an entropy issue.

I will provide steps later when I have free time.

Thanks for the help.

Ian


 From: j...@pengutronix.de
 To: oselas@community.pengutronix.de
 Date: Mon, 16 Mar 2015 10:03:37 +0100
 CC: psycl...@hotmail.com
 Subject: Re: [oselas] iptables-1.4.8 required mdsum

 Hi Ian,

 On Saturday 14 March 2015 15:51:06 ian c wrote:
 Thanks for all the reply.

 I have already solved the problem.

 And how?

 As this mailing list is also a knowledge database for the future I guess many
 people are also interested in the solution, not only in the issue.

 Regards,
 Juergen

 --
 Pengutronix e.K. | Juergen Borleis |
 Industrial Linux Solutions | Phone: +49-5121-206917-5128 |
 Peiner Str. 6-8, 31137 Hildesheim, Germany | Fax: +49-5121-206917- |
 Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ |

  


Re: [oselas] iptables-1.4.8 required mdsum

2015-03-14 Thread ian c
Hi All,

Thanks for all the reply. 

I have already solved the problem.

Regards,
Ian



From: psycl...@hotmail.com
To: j...@pengutronix.de
Subject: RE: [oselas] iptables-1.4.8 required mdsum
Date: Thu, 12 Mar 2015 20:19:12 +

Hi Juergen, Sorry for the formatted text. I just turn my email setting to plain 
text. I hope this reply will be readable now. - PTXCONF_IPTABLES_IPV4 - 
PTXCONF_IPTABLES_INSTALL_TOOLS both of this configuration has already been 
enabled before i used iptables. From: j...@pengutronix.de To: 
oselas@community.pengutronix.de Date: Thu, 12 Mar 2015 12:59:25 +0100 CC: 
psycl...@hotmail.com Subject: Re: [oselas] iptables-1.4.8 required mdsum Hi 
Ian, please try to post your console log in a readable manner. I formatted 
your log to make it readable... On Thursday 12 March 2015 12:01:22 ian c 
wrote: Okay. But with ptxdist-2013.03.0 the iptables-1.4.16.3 is already 
present? [ian]: yes, it i present. However, it shows error when i ran it as 
show below. root@TBa53:~ iptables -t nat -S ERROR: No valid subcommand 
given. Valid subcommands: * iptables-xml * xml The iptables -t nat -S 
is the required command according on the document for setting up wireless 
webserver. You should configure the 'iptables' package correctly! Did you 
read [1] to get a hint? Within the menuconfig step enable: - 
PTXCONF_IPTABLES_IPV4 - PTXCONF_IPTABLES_INSTALL_TOOLS This will configure 
the iptables package to include the iptable command feature. Regards, 
Juergen [1] 
http://unix.stackexchange.com/questions/110608/iptables-the-meaning-of-error-no-valid-subcommand-given
 -- Pengutronix e.K.  | Juergen Borleis
 | Industrial Linux Solutions  | Phone: +49-5121-206917-5128 | Peiner 
Str. 6-8, 31137 Hildesheim, Germany| Fax:   +49-5121-206917- | 
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de/  |  


Re: [oselas] iptables-1.4.8 required mdsum

2015-03-12 Thread ian c



Hi Juergen and Marc,
Thank you for the quick reply.
Here is the brief information that I am doing.I have TQ system board TBa53 with 
onboard Freescale cortex a8. I am building up this board into a wireless 
webserver. I have successfully set up the hostapd and dhcpd. I can see the 
wireless SSID on smartphone or laptop. When I able to connect it wirelessly on 
the laptop  but it shows limited access icon.Just for reference, i follow this 
steps in raspberrypi 
https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software
 and stock into iptable part since it wont accept the parameter as stated on 
the reference. Even it is in limited access icon, i can ping the wireless 
server.
Here is the answer to Juergen's questions: - what PTXdist version do you use? 
-- pxtdist 2013.03.0 - what BSP/project do you use? -- TBa53 (TQ system BSP)
 - what is oselas git? -- it is a git fork from original oselas 
 (g...@gitorious.org:oselas/ptxdist.git)
 - where did you store the downloaded iptables.* files? -- i store the 
 iptables files into rules folder
 - what did you really do? -- it is already stated on the brief 
 information. The only lacking steps I have is the iptables since the original 
 iptables comes with the BSP is version
If someone in the forum who as successfully setup wireless webserver (that 
means able to access the internal web server) using cortex a8 board, i would 
appreciate if you can share it to me.
Thank you and best regards,Ian

 From: juer...@kreuzholzen.de
 To: oselas@community.pengutronix.de
 Date: Wed, 11 Mar 2015 18:03:14 +0100
 CC: psycl...@hotmail.com
 Subject: Re: [oselas] iptables-1.4.8 required mdsum
 
 Hi Ian,
 
 ian c wrote:
  Downloaded the latest iptables.in and iptables.make from oselas git
  repository. I enabled the iptables in ptxdist menuconfig under
  networking.When I build it, it encounter error:md5sum for 'iptables' ...
  missing. How do I add that missing md4sum? I could not find it in the
  ptxdist menu. Any helps are appreciated.
 
 Your text is really confusing.
 
 The PTXdist commit log tells me:
 
  - iptables-1.4.8 was used with ptxdist-2010.05.0
  - its mod5sum was introduced in ptxdist-2011.06.0
 
 So I have some questions:
 
  - what PTXdist version do you use?
  - what BSP/project do you use?
  - what is oselas git?
  - where did you store the downloaded iptables.* files?
  - what did you really do?
 
 Regards,
 Juergen
 

  

Re: [oselas] iptables-1.4.8 required mdsum

2015-03-12 Thread Juergen Borleis
Hi Ian,

On Thursday 12 March 2015 08:37:07 ian c wrote:
 [...]
  - what PTXdist version do you use?

 -- pxtdist 2013.03.0

Okay. But with ptxdist-2013.03.0 the iptables-1.4.16.3 is already present?
So: why iptables-1.4.8?

  - what BSP/projec do you use?

 -- TBa53 (TQ system BSP) 

Okay.

  - what is oselas git?

 -- it is a git fork from original oselas 
 (g...@gitorious.org:oselas/ptxdist.git)

Hmm. The last activity in this repository is 6 month ago. But it also contains
an iptables with version 1.4.16.3. So I have no idea where you copied the
iptables-1.4.8 rule file from. Are you sure you local iptables.* are from this
repository???

  - where did you store the downloaded iptables.* files?

 -- i store the iptables files into rules folder

Okay.

   - what did you really do?

  -- it is already stated on the brief  information. The only lacking steps I
  have is the iptables since the original iptables comes with the BSP is
  version 

Remove the local iptables.* files from your BSP and use the iptables-1.4.16.3
coming with ptxdist-2013.03.0 or use a more recent PTXdist release instead and
run ptxdist migrate to adapt your existing BSP to this recent PTXdist
version.

Regards,
Juergen

BTW: http://www.netmeister.org/news/learn2quote.html

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions        | http://www.pengutronix.de/  |



Re: [oselas] iptables-1.4.8 required mdsum

2015-03-12 Thread Marc Kleine-Budde
On 03/11/2015 05:11 PM, ian c wrote:
 Downloaded the latest iptables.in and iptables.make from oselas git
 repository. I enabled the iptables in ptxdist menuconfig under networking.
 When I build it, it encounter error:md5sum for 'iptables' ... missing.
 How do I add that missing md4sum? I could not find it in the ptxdist menu.

Why do you download iptables.in and .make manually? Updating your BSP to
latest ptxdist would be a better option.

However, there's probably some old iptables.make in your BSP, since the
latest one is 1.4.21:

 ➜ (pts/36) frogger@hardanger:ptxdist/ptxdist (master) grep ^IPTABLES_VERSION 
 rules/iptables.make
 IPTABLES_VERSION  := 1.4.21

and the md5sum is set:
 ➜ (pts/36) frogger@hardanger:ptxdist/ptxdist (master) grep IPTABLES_MD5 
 rules/iptables.make
 IPTABLES_MD5  := 536d048c8e8eeebcd9757d0863ebb0c0

regards,
Marc

-- 
Pengutronix e.K.  | Marc Kleine-Budde   |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund  | Fax:   +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |



signature.asc
Description: OpenPGP digital signature


Re: [oselas] iptables-1.4.8 required mdsum

2015-03-11 Thread Juergen Borleis
Hi Ian,

ian c wrote:
 Downloaded the latest iptables.in and iptables.make from oselas git
 repository. I enabled the iptables in ptxdist menuconfig under
 networking.When I build it, it encounter error:md5sum for 'iptables' ...
 missing. How do I add that missing md4sum? I could not find it in the
 ptxdist menu. Any helps are appreciated.

Your text is really confusing.

The PTXdist commit log tells me:

 - iptables-1.4.8 was used with ptxdist-2010.05.0
 - its mod5sum was introduced in ptxdist-2011.06.0

So I have some questions:

 - what PTXdist version do you use?
 - what BSP/project do you use?
 - what is oselas git?
 - where did you store the downloaded iptables.* files?
 - what did you really do?

Regards,
Juergen