[WLANware] Problems with Firmware Builder

Lorenz Schori lorenz.schori at gmx.ch
Wed Apr 18 20:00:47 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Okay. function.sh for sure is called by the gen-openwrt script. i  
guess that you have to substitute the first line of the gen-openwrt  
script too. if you want to know which other scripts have the wrong  
interpreter line check with:

grep -r ./ -e "#!/bin/sh"

Im pretty, pretty, pretty sure, that this is the issue.

@Sven-Ola: if you agree i'll check in my enhanced version of gen- 
openwrt which fixes the issue that nvram variables are not included  
if the ip-address is not given on the command line and which adds  
functionality to include custom ipk into the firmware image by just  
dropping them in a "package"-directory inside the kit.

Lorenz

Am 18.04.2007 um 19:34 schrieb tetzlav:

> Lorenz Schori schrieb:
>> bash --version
> ok, next round. :D
>
>  tetzlav at server # bash -version
> GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu)
> Copyright (C) 2002 Free Software Foundation, Inc.
>
> This is an old version, but works fine for me...
>
>
>  tetzlav at tp40 # bash -version
> GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu)
> Copyright (C) 2005 Free Software Foundation, Inc.
>
>> I'm pretty sure, that some other shell is hiding behind your /bin/ 
>> bash
>> Perhaps you have to install it seperately on ubuntu?
>
> Not that I remember...
>
>> i found the culprit:
>> http://ff-firmware.cvs.sourceforge.net/*checkout*/ff-firmware/ff-
>> devel/freifunk-openwrt-kit/functions.sh?content-type=text%2Fplain
>>
>> replace the first line! should be
>> #!/bin/bash
>>
>
> done.
> but it still says:
>
>  tetzlav at tp40 # ./gen-openwrt g > test.bin
> ./functions.sh: 6: Syntax error: Bad for loop variable
>
> :-(
>
> Whatever - never mind! Its just out of interest whats going  
> wrong... ;)
>
>
> Thx & Greetings
> tetzlav
> _______________________________________________
> WLANware mailing list
> WLANware at freifunk.net
> Abonnement abbestellen? -> https://freifunk.net/mailman/listinfo/ 
> wlanware
>
> Weitere Infos zu den freifunk.net Mailinglisten und zur An- und  
> Abmeldung unter http://freifunk.net/mailinglisten

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGJlzPlNX+1hvKqPsRAqCbAJ9RiLWJDIMGb1oGPzdge1Iex+Jv1ACff4DT
yPMLVC3wfy1Ai1Y7iMQwEmk=
=Ae+q
-----END PGP SIGNATURE-----



More information about the WLANware mailing list